I work it out :-)
code that works for me:
var submitcount=0;
function checkFields()
{
if (submitcount == 0)
{
submitcount++;
return true;
}
else
{
alert("This form has already been submitted. Thanks!");
return false;
}
}
and...
-
riginal Message -
> From: "Stanislav" <[EMAIL PROTECTED]>
> To:
> Sent: Monday, December 19, 2005 8:26 AM
> Subject: Re: submit double click, js and html:submit
>
>
>> Details: Error: Object doesn't support this property or method
>>
>> -
ecember 19, 2005 8:26 AM
Subject: Re: submit double click, js and html:submit
> Details: Error: Object doesn't support this property or method
>
> - Original Message Follows -
>> Well, error is "Error on Page" (left bottom corner). Details: something
>&
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 mess
Can you give me some code example?
- Original Message Follows -
> 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: su
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
Stanislav wrote:
But when i use this code, after clicking on submit button i get error on page
message in IE.
Uh... what's the error?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
"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-
>
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 dat
9 matches
Mail list logo