File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 60053
    
  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: 60053
    
  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
NX: Review lock/unlock
Avoid multiple accesses to a file
please wait box
Loading Time
Avoiding the page to get refreshed