About 125,000 results
Open links in new tab
  1. 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 …

  2. Why does jQuery or a DOM method such as getElementById not …

    What are the possible reasons for document.getElementById, $("#id") or any other DOM method / jQuery selector not finding the elements? Example problems include: jQuery silently failing to …

  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 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 …

  5. Disable/enable an input with jQuery? - Stack Overflow

    Sep 12, 2009 · $input.disabled = true; or $input.disabled = "disabled"; Which is the standard way? And, conversely, how do you enable a disabled input?

  6. jquery - How to send a correct authorization header for basic ...

    Continue to help good content that is interesting, well-researched, and useful, rise to the top! To gain full voting privileges,

  7. If/else else if in Jquery for a condition - Stack Overflow

    Learn how to implement if/else and else if conditions in jQuery for efficient coding and logical operations.

  8. jQuery: Uncaught Error: Syntax error, unrecognized expression

    Oct 3, 2013 · jQuery: Uncaught Error: Syntax error, unrecognized expression Asked 12 years, 1 month ago Modified 2 years, 7 months ago Viewed 292k times

  9. javascript - Get checkbox value in jQuery - Stack Overflow

    May 14, 2010 · How can I get a checkbox's value in jQuery?

  10. Selecting element by data attribute with jQuery - Stack Overflow

    Feb 10, 2021 · Also, if you work with data attributes a lot in your jQuery scripts, you might want to consider using the HTML5 custom data attributes plugin. This allows you to write even more …