Jump to content

put transparent layer that disable page element at the time of processing ajax


vijayfreaks

Recommended Posts

Hi..

    I have made web page in php with the help of ajax and javascript.

    I want to do whenever page processing for ajax for that time I want to put

    some transperent layer that will disable the back pages element..

    I have seen one site but I dont remembered.

   

    Any help..?

 

    Thanks in advance..  :)

   

Best Regards,

Vijay

Link to comment
Share on other sites

Take a look at this article here:

 

http://code.jalenack.com/categories/ajax/

 

There are 5 "states" that the request can be in. You can therefore change the display of your element dependant on which state it is in. So whilst it is loading, you might change the contents of your div tag to simply say "Loading...", and then show whatever you want to show once the request has been complete.

Link to comment
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.