$(document).ready()


#1

do we need to use $(document).ready() for every function which are not related to each other .
in short how many time do we need to use $(document).ready() in source code?


#2

Hey tumsido,

Only once, if you put all of your code that does stuff inside the main() function :)


#3

If you want more info i posted more about document ready here :slightly_smiling: