View Single Post
11-22-2010, 02:12 AM
#3
Enfernikus is offline Enfernikus
Status: I'm new around here
Join date: Jul 2008
Location:
Expertise:
Software:
 
Posts: 20
iTrader: 1 / 100%
 

Enfernikus is on a distinguished road

  Old

Code:
$(function(){
});
Is short hand for

Code:
jQuery(document).ready(function(){
});
What the ready method does, succinctly, is use cross-browse compatible methods to ensure that the element you've specified has been loaded fully and is in a "ready" state to be manipulate. We choose to the document element because it represents the whole of the page we're working with.

Reply With Quote