About 132,000 results
Open links in new tab
  1. jquery - The $ dollar sign - Stack Overflow

    Dec 13, 2013 · The cash sign is just an alias for the jQuery function. Starting the variable name with $ has no effect on that variable. It is customary though, especially in jQuery plugin …

  2. What is the purpose of the dollar sign in JavaScript?

    Mar 29, 2022 · A '$' in a variable means nothing special to the interpreter, much like an underscore. From what I've seen, many people using jQuery (which is what your example …

  3. jQuery $ (this) keyword - Stack Overflow

    Sep 18, 2012 · When inside a jQuery method’s anonymous callback function, this is a reference to the current DOM element. $ (this) turns this into a jQuery object and exposes jQuery’s …

  4. How can I get the ID of an element using jQuery?

    The .selector property was deprecated in jQuery 1.7 and is only maintained to the extent needed for supporting .live () in the jQuery Migrate plugin. The property was never a reliable indicator …

  5. jquery - Set select option 'selected', by value - Stack Overflow

    I have a select field with some options in it. Now I need to select one of those options with jQuery. But how can I do that when I only know the value of the option that must be selected? I have the

  6. How can I select an element by name with jQuery?

    Jul 10, 2009 · jquery (E) solution is quite-fast on big tables jquery (E) and querySelectorAll (H) solutions are slowest for small tables getElementByName (G) and querySelectorAll (H) …

  7. How to create a jQuery function (a new jQuery method or plugin)?

    Aug 23, 2012 · Yup — what you’re describing is a jQuery plugin. To write a jQuery plugin, you create a function in JavaScript, and assign it to a property on the object jQuery.fn.

  8. How do I check whether a checkbox is checked in jQuery?

    May 7, 2016 · I need to check the checked property of a checkbox and perform an action based on the checked property using jQuery. For example, if the age checkbox is checked, then I …

  9. What is the meaning of symbol $ in jQuery? - Stack Overflow

    Jun 26, 2009 · It is shorthand for jQuery (). Which you can use if you want. jQuery can be ran in compatibility mode if another library is using the $ already. Just use jQuery.noConflict (). $ is …

  10. jQuery select by attribute using AND and OR operators

    jQuery select by attribute using AND and OR operators Asked 13 years, 5 months ago Modified 10 years, 8 months ago Viewed 216k times