treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Jquery tip

  • 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.
  • they should just ditch the long code and only allow the short version .