E
Eirik Eldorsen
When the user clicks a button on my page, a server side operation starts
which takes several seconds to complete.
To make the user less impatient I want to show a animating gif when he/she
clicks the button. I've been able to do this by calling a function by using
the onclick event of the button. My problem is that the function is always
called. I only want it to be called if page validation returns true. Is this
possible?
which takes several seconds to complete.
To make the user less impatient I want to show a animating gif when he/she
clicks the button. I've been able to do this by calling a function by using
the onclick event of the button. My problem is that the function is always
called. I only want it to be called if page validation returns true. Is this
possible?