This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Please wait ..while accessing data, How can I do that Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Please wait ..while accessing data, How can I do that" Watch "Please wait ..while accessing data, How can I do that" New topic
Author

Please wait ..while accessing data, How can I do that

Harish Maridi
Ranch Hand

Joined: May 20, 2008
Posts: 60
Hi,

I am implementing AJAX on my page, while retrieving data (about 3000 records), it is taking some time. In this time I want to display an image with message "please wait ..while accessing data". How can I dothat using javascript or any other way, Please explain me.

Thanks in advance
-mark
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60773
    
  65

Do you just want that to appear somewhere on the page?

It's a simple matter to create a hidden element and to show it while the Ajax request is processing. Some more details on what you want are necessary.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60773
    
  65

P.S. The basics of show/hide is to change the display style property to "none" for hidden, and one of "block" or "inline" (as appropriate) for shown.
[ July 18, 2008: Message edited by: Bear Bibeault ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Please wait ..while accessing data, How can I do that
 
Similar Threads
Avoiding the page to get refreshed
Avoid multiple accesses to a file
NX: Review lock/unlock
please wait box
Loading Time