What does the "@" sign in jQuery selector means? -
what @
sign in following code means ?
$("input[@type=checkbox][@checked]").each( function() { ... } );
this xpath convention attribute selection, discontinued 2 versions ago.
should remove @
sign if want selectors work on current version.
alternatively, selector $("input:checkbox:checked")
should work same.
Comments
Post a Comment