Inspiration For Creative Minds
Home » Labs » Alternative way for jQuery $(document).ready  

Filed under Labs

Here is an alternate for jQuery $(document).ready(function(). Instead of using $(document).ready(function() you can use $(function() for more clarification please look the code usage.

//Instead of this 
$(document).ready(function() {
    //document ready
//you can use below code
    //document ready
It's only fair to share...Share on Google+Tweet about this on TwitterShare on Facebook

Posts you may like: