|
|
|
|
|
|
|
|
Re: disable button[ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]
Posted by Kurt Preston on July 10, 2002 at 10:0:56: In Reply to: disable button posted by Hitesh on July 9, 2002 at 17:56:28:One way to accomplish this is to hide the button instead of disabling it. You can setup someting similar to the following HTML in your form (assuming you have the layout in a table, but it doesn't need to be): <tr><td><input type=button onclick=playTrick() name=Submit><span id=MySpan style="display: none">Submitting</span></td></tr> Then you can play a trick by adding javascript code to the onclick event function similar to the following: function playTrick() { This hides the button and effectively replaces it with a text message saying the form is submitting.
Post a Followup[ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]
|
Intranet Journal's Tutorials |
|
Managing Editor |