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

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

Jquery tip

  • # August 14, 2008 at 12:39 am

    hey fellas. Incase you haven’t read this already. I am looking into jquery and I purchased the book jquery in action from
    Bear Bibeault, Yehuda Katz and I was reading in there and found a shortcut to starting the jquery functions. Instead of doing this

    $(document).ready(function() {


    you can shortcut it by doing this

    $(function() {


    I love the shortcuts. Just thought I would share.

    # August 18, 2008 at 3:40 am

    they should just ditch the long code and only allow the short version .

Viewing 2 posts - 1 through 2 (of 2 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