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

Popular posts from this blog

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -

xslt - Umbraco and EXSLT sets do not work -