Alpita
asked on
how to add clock timing indicator?
Hi Expert,
I have a submit button in my .jsp file. When i click , it takes time to display the response.
Can i have some sample code to display waiting icon(some kind of clock indicator) . Once i get response it should not show up?
Thanks,
Alpita
I have a submit button in my .jsp file. When i click , it takes time to display the response.
Can i have some sample code to display waiting icon(some kind of clock indicator) . Once i get response it should not show up?
Thanks,
Alpita
<TR>
<TD ALIGN=CENTER>
<INPUT TYPE=BUTTON ID="butSubmit" VALUE="Submit" onClick="form_submit()">
</TD>
<TD ALIGN=CENTER>
<INPUT TYPE=BUTTON NAME="close" VALUE="Close" onClick="window.close()">
</TD>
</TR>
ASKER
In my project environment, they dont use AJAX.
Could it possible in jsp?
Thanks,
Alpita
Could it possible in jsp?
Thanks,
Alpita
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
On submit of form, show a progress image on the page, Send an ajax request with form details.
Once the ajax request is completed, just forward to the success/failure page based on the ajax request/response result.