What does the @ sign in the following code means ?
$("input[@type=checkbox][@checked]").each(
function() {
...
}
);
What does the @ sign in the following code means ?
$("input[@type=checkbox][@checked]").each(
function() {
...
}
);
This is an xpath convention for attribute selection, which was discontinued two versions ago.
You should remove the @ sign if you want the selectors to work on the current version.
Alternatively, the selector $("input:checkbox:checked") should work just the same.