Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.