Simgle $(document).ready(function(){} or multiple?
Hi,
I have been trying several jQuery examples. Now, I want to combine 2-3 plugins together but I am facing a problem. For every pluging they say that I need to place the code into $(document).ready(function(){}. So, if there are 2-3 plugins then do I need to create only one $(document).ready(function(){} and put all the code there for each plugin or do I need to write $(document).ready(function(){} for each plugin seperately?
Logically it should be one $(document).ready(function(){} with all the code in it for all the plugins but it is not working. I am trying to have edit-in-place with a lightbox to upload files. The edit in place works fine but the lightbox is not working.
Thanks.