Top "Jquery-selectors" questions

Selectors can be used in jQuery to match a set of elements in a document.

Toggle Checkboxes on/off

I have the following: $(document).ready(function() { $("#select-all-teammembers").click(function() { $("input[name=recipients\\[\\]]").attr('checked', true); }); }); I'd like the id="…

jquery checkbox jquery-selectors toggle
Access the css ":after" selector with jQuery

I have the following css: .pageMenu .active::after { content: ''; margin-top: -6px; display: inline-block; width: 0px; height: 0px; border-top: 14…

jquery css jquery-selectors
jQuery: Check if div with certain class name exists

Using jQuery I'm programmatically generating a bunch of div's like this: <div class="mydivclass" id="myid1">Some Text1&…

javascript jquery jquery-selectors javascript-framework
Wildcards in jQuery selectors

I'm trying to use a wildcard to get the id of all the elements whose id begin with "jander". I …

jquery jquery-selectors sizzle
Get a list of checked checkboxes in a div using jQuery

I want to get a list of names of checkboxes that are selected in a div with certain id. How …

jquery checkbox jquery-selectors
jQuery selector regular expressions

I am after documentation on using wildcard or regular expressions (not sure on the exact terminology) with a jQuery selector. …

javascript jquery regex jquery-selectors
How to get all child inputs of a div element (jQuery)

HTML: <div id="panel"> <table> <tr> <td><input id="Search_NazovProjektu" …

jquery jquery-selectors
jQuery first child of "this"

I'm trying to pass "this" from a clicked span to a jQuery function that can then execute jQuery on that …

javascript jquery jquery-selectors css-selectors
jQuery find and replace string

I have somewhere on website a specific text, let's say "lollypops", and I want to replace all the occurrences of …

javascript jquery jquery-selectors
Using jquery to get all checked checkboxes with a certain class name

I know I can get all checked checkboxes on a page using this: $('input[type=checkbox]').each(function () { var …

jquery jquery-selectors checkbox