on 08-08-2006 10:37 AM
Hi all,
Need your help, in avoiding multiple submit clicks in HTMLB.
Thanks in advance.
Regards,
Gangadharayya.
Hi,
This can be done by setting the button in "Disabled" state once it is clicked. This can be done by calling a java script function on the "onClientClick" event which sets the state of the button to disabled state.
Add a similar function like this in your JSP, and do the appropriate changes, it should work fine.
function Process(){
var myID = htmlb_formid+"_getHtmlbElementId";
myFunction = window[myID];
var myButton = eval(myFunction("/* Your Button's ID */"));
myButton.setDisabled();
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Is it multiple click on a button?
In the OnClientClick() function you can add a javscript to make this button disabled and then process with the rest of the functionality for this event.
Does this help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.