Jump to content

Ajax help needed


XuLaYmAn

Recommended Posts

Hey, I need some help with Ajax. I have a Ajax control on the mainpage of my site which checks the servers in my cluster and returns there status. It is working fine, but my problem is that while this table of servers is being loaded the rest of the page becomes unaccessable. I mean if i click on any other link, it has to wait untill the Ajax script has done its work. Can you kindly tell me how can i change this so that ajax works while the rest of the page is not effected. Thank You.


Regards.
Link to comment
https://forums.phpfreaks.com/topic/32044-ajax-help-needed/
Share on other sites

There is an abort command you can run to cancel any AJAX command, but you'd have to know the object you're dealing with.  And you'd have to put that abort call on EVERY other link on the page.

My suggestion would be to set the page up so that the server status is only displayed on demand.
Link to comment
https://forums.phpfreaks.com/topic/32044-ajax-help-needed/#findComment-150361
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.