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?


Hey tumsido,

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


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