1.

What are the main advantages of jquery?

Answer»

jQuery(":checkbox") is to SELECT all the checkbox elements, as all the CHECKBOXES are of INPUT elements it is good practice prefix it with type of element like $('input:checkbox'). The FOLLOWING is the query to select all the checkboxes in a form.

$('form input:checkbox')


Discussion

No Comment Found