Sudhanshum
asked on
jQuery working slow
I have used JQuery in my page and added some libraries also. When i call jAlert on client side it works fine but when i call it on post back of page it takes a lot of time compared to calling it on client side.
Please share some code snippets.
Where are you placing the script?
HTML parsing is sequential (from top to bottom) and script blocks are blocking.
This means that your code won't be parsed and executed until the HTML parser reaches there and any other scripts you might have before will delay the execution.
JavaScript is not slow and jQuery (that is nothing but JavaScript) performs very well.
Revise your code and explain us how and what exactly are you trying to do.
Cheers! :)
HTML parsing is sequential (from top to bottom) and script blocks are blocking.
This means that your code won't be parsed and executed until the HTML parser reaches there and any other scripts you might have before will delay the execution.
JavaScript is not slow and jQuery (that is nothing but JavaScript) performs very well.
Revise your code and explain us how and what exactly are you trying to do.
Cheers! :)
Please share the code as its very difficult to trace the exact issue
look for missing file, especially pictures.
if any, replace $(window).load by $(document).ready
if any, replace $(window).load by $(document).ready
ASKER
The code shows how i am calling the script and what jQuery files i am using.
JQUERY-Example.zip
JQUERY-Example.zip
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.