i have read this answer
FROM Can you have multiple $(document).ready(function(){ ... }); sections?
You can have multiple ones, but it's not always the neatest thing to do. Try not to overuse them, as it will seriously affect readability. Other than that , it's perfectly legal.
But this is not the duplicate of that question,but with reference to that question i have to ask
whether this type of implementation affect the pageLoad time of the page
will it need any http requests for that
- do it have any drawbacks