Browsing Tag

selector

WordPress 3.9 and jQuery Wildcard Selector Issue

I am trying to implement a “checkall” with the following code: <script> jQuery('.grpInclude').on('click', function(e){ e.preventDefault(); var checkBoxes = jQuery('input[id=*"grpInc"]'); checkBoxes.prop("checked", !checkBoxes.prop("checked")); }); </script> However, it

Back to Top 134569 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising