The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript difference between jQuery Object and Dom Element

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #28747

    Hopefully, this is a pretty straightforward question for someone.

    I’m just diving into plugin development (definitely for personal use until I wrap my head around it better), and am using Doug Neiner’s Starter tool that Chris recommends.

    What I am not totally clear on is this:

    // Access to jQuery and DOM versions of element
    base.$el = $(el);
    base.el = el;

    What do those actually look like? How are they different? Why would I call one over the other?

    Sorry I don’t have a very good example to use for illustration…


Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.