Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-22-2007, 11:03 PM   PM User | #1
anilreddy76
New Coder

 
Join Date: Jun 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
anilreddy76 is an unknown quantity at this point
Help with javascript refresh

Hi,

I'm having select box on my page and once the user selects the value from the list box the form refreshes and presents the data to the user,I need to display some text " Saying that Form is refreshing" while the data is loading and once the data is loaded it should not display.

Couls any one help me how to do this in javascript.

Please advise..

Thanks,
Kumar
anilreddy76 is offline   Reply With Quote
Old 08-23-2007, 12:23 AM   PM User | #2
Fumigator
UE Antagonizer


 
Fumigator's Avatar
 
Join Date: Dec 2005
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,686
Thanks: 42
Thanked 637 Times in 625 Posts
Fumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of light
I would use a hidden <div> tag and you can control a <div>'s visibility by changing its property like this:
Code:
document.getElementById("pleaseWaitDiv").style.visibility="visible"; //show div
document.getElementById("pleaseWaitDiv").style.visibility="hidden"; //hide div
__________________
Fumigator is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:42 PM.


Advertisement
Log in to turn off these ads.