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

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 02-22-2008, 04:53 PM   PM User | #1
fairuz.ismail
New to the CF scene

 
Join Date: Feb 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
fairuz.ismail is an unknown quantity at this point
loading bar while submit form

Hi,
I want to submit the user form using ajax and what i want to achieve is, if the user press the submit button, there will be a loading image appear while the script communicate with the server. is there any way to make this? i know it's possible, but im just a ajax noob.
fairuz.ismail is offline   Reply With Quote
Old 02-25-2008, 06:36 PM   PM User | #2
A1ien51
Senior Coder

 
A1ien51's Avatar
 
Join Date: Jun 2002
Location: Between DC and Baltimore In a Cave
Posts: 2,717
Thanks: 1
Thanked 94 Times in 88 Posts
A1ien51 will become famous soon enough
I am not sure what is hard about it. It is basic DHTML.

Have an image hidden on the page with the display set to none. Set its position to absolute and set the top and left location to where you want it to appear.

When you call your Ajax function you set the display to block/inline

When the Ajax call returns when it is complete you set the display back to none.

Eric
__________________
Tech Author [Ajax In Action, JavaScript: Visual Blueprint]
A1ien51 is offline   Reply With Quote
Old 02-27-2008, 09:24 AM   PM User | #3
Smiats
New to the CF scene

 
Join Date: Dec 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Smiats is an unknown quantity at this point
"I am not sure what is hard about it. It is basic DHTML."

Not everyone's a genius coder Alien!
Smiats 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 09:22 AM.


Advertisement
Log in to turn off these ads.