each input checked with specific attribute code example Example: how to change a checkbox to be selected $(".myCheckBox").selected(true);