Link to home
Start Free TrialLog in
Avatar of Sudhanshum
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.
Avatar of VijayBalkawade
VijayBalkawade

Please share some code snippets.
Avatar of Alexandre Simões
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! :)
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
Avatar of Sudhanshum

ASKER

The code shows how i am calling the script and what jQuery files i am using.
JQUERY-Example.zip
ASKER CERTIFIED SOLUTION
Avatar of Alexandre Simões
Alexandre Simões
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial