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

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

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

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

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