loading bar while submit form
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.
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.
"I am not sure what is hard about it. It is basic DHTML."
Not everyone's a genius coder Alien!
|All times are GMT +1. The time now is 09:24 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.