File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Harish Maridi
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64178
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64178
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic