Forums

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

Home Forums Other Jquery tip

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23084
    cybershot
    Participant

    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

    Code:
    $(document).ready(function() {

    });

    you can shortcut it by doing this

    Code:
    $(function() {

    });

    I love the shortcuts. Just thought I would share.

    #49265

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Other’ is closed to new topics and replies.