Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an application in the server and I connect it through VPN.
When I test it locally or when the internet connection is fast, every thing works fine.

If I use the application when the connection is slow then i experience that jQuery like button click and expansion of hyperlink is not happening. It again works fine if I refresh the page.

Kindly let me know how this can be handled.


Thanks.
Posted
Comments
Nathan Minier 26-Nov-14 7:11am    
Check your ajax timeout. It's also possible that you have a section of JavaScript that's trying to directly use a promise, rather than the value returned by it.
raghunath sahoo 26-Nov-14 7:13am    
Please can you explain??
[no name] 26-Nov-14 23:25pm    
I agree with Nathan. Also put your jquery in the end of the page.. so that all elements are loaded first. If your script is toooo huge it will take time for script to load and then the elements.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900