The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Programming Fundamentals" Dec 02 - 2:00 PM Eastern

difference between jQuery Object and Dom Element

  • # April 16, 2010 at 1:55 pm

    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)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed