0

So I'm using IE8, I have to submit a form and disable the button. So I was going to use onclick to do this. The problem is if I use onclick, it doesn't submit the form, so I would need to submit the form manually with javascript. However, if I try to submit the form with javascript I get an access denied error due to ie8 'security'...

So, what's my best way of doing this?

5
  • 1
    can you post the code you tried? Commented Dec 9, 2013 at 19:54
  • 1
    you can use onsubmit handler to disable button Commented Dec 9, 2013 at 19:55
  • when you submit a form, do you need to go a specific page or just refreshed the page? Have you tried using php for submitting a form Commented Dec 9, 2013 at 19:56
  • @IlyaBursov yup. This has been asked and answered before stackoverflow.com/a/20157395/961695 Commented Dec 9, 2013 at 22:19
  • To add to the suggestions, try onmouseup. But onsubmit is a better option. Commented Dec 9, 2013 at 23:27

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.