Possible Duplicate:
Can you have multiple $(document).ready(function(){ … }); sections?
May be this question is little bit funny.
I just want to know that can we use $(document).ready()more then one time on a page
If yes then what is the pros and cons for that?
read more
Try this out:
above code is the same as below