About 130,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. 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 …

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

  4. JQuery | Forums

    Ask questions and report issues related to using jQuery. Discuss anything related to jQuery itself. For issues with plugins, ask in the jQuery Plugins forum.

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

  6. Submit a form using jQuery - Stack Overflow

    I want to submit a form using jQuery. Can someone provide the code, a demo or an example link?

  7. How to loop through array in jQuery? - Stack Overflow

    Oct 15, 2010 · Advantages: Straight-forward, no dependency on jQuery, easy to understand, no issues with preserving the meaning of this within the body of the loop, no unnecessary …

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

  9. javascript - JQuery - $ is not defined - Stack Overflow

    In jQuery's case, $ is just an alias for jQuery, so all functionality is available without using $. If we need to use another JavaScript library alongside jQuery, we can return control of $ back to the …

  10. Play an audio file when a button is clicked - Stack Overflow

    The official reason is that incorporating it into jQuery would add a play() method to every single element, which would cause unnecessary overhead. So instead you have to refer to it by its …