Details: Error: Object doesn't support this property or method ----- Original Message Follows ----- > Well, error is "Error on Page" (left bottom corner). Details: something about > wrong method..... > > > > "But when i use this code, after clicking on submit button i get error > > on page message in IE." > > > > Can you throw us a bone here? What is the error? > > > > Larry > > > > > > On 12/19/05, Amol Yadwadkar <[EMAIL PROTECTED]> wrote: > > > U may have to use validToken method provided by struts > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > Sent: Monday, December 19, 2005 6:29 PM > > > To: user@struts.apache.org > > > Subject: submit double click, js and html:submit > > > > > > I want to prevent user from double submiting data. Searching the > > > internet i found this js code: > > > <input type="submit" value="Submit" > > > onclick="this.disabled=true;this.form.submit();" /> > > > > > > Because i use html:submit my code is: > > > > > > <html:submit property="submit" value="Some name" styleClass="Button" > > > style="CURSOR: hand" > > > onclick="this.disabled=true;this.form.submit();"/> > > > > > > But when i use this code, after clicking on submit button i get error on > > > page message in IE. > > > > > > my question is: how can i prevent user from double clicking submit > > > button and still user html:submit > > > code? > > > > > > Tnx > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]