About 126,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. javascript - Get checkbox value in jQuery - Stack Overflow

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

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

  7. jquery - How to pass parameters in $ajax POST? - Stack Overflow

    Sep 9, 2013 · Jquery.ajax does not encode POST data for you automatically the way that it does for GET data. Jquery expects your data to be pre-formated to append to the request body to …

  8. 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,

  9. 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.

  10. Get selected value of a dropdown's item using jQuery

    May 6, 2010 · Learn how to get the selected value of a dropdown's item using jQuery with this guide.