Re: [PHP] Disabling button onclick in IE

2009-12-02 Thread Skip Evans
Yup. That was it. I found that Googling around as well. Eesh. Skip Andrew Ballard wrote: On Tue, Dec 1, 2009 at 4:06 PM, Skip Evans s...@bigskypenguin.com wrote: Hey all, You probably remember me asking about disabling a submit button when it is clicked to prevent double clicks submitting

Re: [PHP] Disabling button onclick in IE

2009-12-02 Thread Skip Evans
Hey all, Tedd Ash, yes, I'm definitely looking into solving it server side, but I need this quick fix while I come with a solution more along the lines of what you've both suggested. Ash, how do you store the time stamp when the first request comes through? Do you use a session variable or

Re: [PHP] Disabling button onclick in IE

2009-12-02 Thread Ashley Sheridan
On Wed, 2009-12-02 at 10:09 -0600, Skip Evans wrote: Hey all, Tedd Ash, yes, I'm definitely looking into solving it server side, but I need this quick fix while I come with a solution more along the lines of what you've both suggested. Ash, how do you store the time stamp when the

Re: [PHP] Disabling button onclick in IE

2009-12-02 Thread Skip Evans
Okay, I'll work on something along those lines. In the meantime, the JS will work better than nothing. Thanks, Skip Ashley Sheridan wrote: I'll tell you about the problem I had. One site was offering up contact details for sale on a contract basis. The names were presented in a list of

Re: [PHP] Disabling button onclick in IE

2009-12-02 Thread tedd
At 10:09 AM -0600 12/2/09, Skip Evans wrote: Hey all, Tedd Ash, yes, I'm definitely looking into solving it server side, but I need this quick fix while I come with a solution more along the lines of what you've both suggested. A quick fix? You've spent more time writing your question

[PHP] Disabling button onclick in IE

2009-12-01 Thread Skip Evans
Hey all, You probably remember me asking about disabling a submit button when it is clicked to prevent double clicks submitting a form for CC processing. I put the following code into the submit button and it works fine on FireFox, but... hold your breath... not on IE. The button gets

Re: [PHP] Disabling button onclick in IE

2009-12-01 Thread Ashley Sheridan
On Tue, 2009-12-01 at 15:06 -0600, Skip Evans wrote: Hey all, You probably remember me asking about disabling a submit button when it is clicked to prevent double clicks submitting a form for CC processing. I put the following code into the submit button and it works fine on

Re: [PHP] Disabling button onclick in IE

2009-12-01 Thread Andrew Ballard
On Tue, Dec 1, 2009 at 4:06 PM, Skip Evans s...@bigskypenguin.com wrote: Hey all, You probably remember me asking about disabling a submit button when it is clicked to prevent double clicks submitting  a form for CC processing. I put the following code into the submit button and it works

Re: [PHP] Disabling button onclick in IE

2009-12-01 Thread tedd
At 9:16 PM + 12/1/09, Ashley Sheridan wrote: On Tue, 2009-12-01 at 15:06 -0600, Skip Evans wrote: wow, i really think you're going about this all the wrong way. Ash: I thought the same thing considering that I went through the exact same problem and provided a solution, which he never

Re: [PHP] Disabling button onclick in IE

2009-12-01 Thread Ryan Sun
Andrew is right, another solution is to move your code from onclick to onsubmit event, form name=ticket_form onsubmit=this.submit.disabled=true; On Tue, Dec 1, 2009 at 4:06 PM, Skip Evans s...@bigskypenguin.com wrote: Hey all, You probably remember me asking about disabling a submit button