sphinx Posted November 22, 2011 Share Posted November 22, 2011 Hello, I've noticed that submission is not occuring on certain older IE browsers here is the code: <button id="saveForm" onclick="ChangeText();this.disabled=true;" class="positive" type="submit" name="save" value="Process"> <img src="apply2.png" alt=""/>Submit </button> Is their anything in there that old IE will not support? Many thanks Quote Link to comment https://forums.phpfreaks.com/topic/251618-submit-button-not-working/ Share on other sites More sharing options...
teynon Posted November 22, 2011 Share Posted November 22, 2011 What is the code in function ChangeText() ? Quote Link to comment https://forums.phpfreaks.com/topic/251618-submit-button-not-working/#findComment-1290420 Share on other sites More sharing options...
sphinx Posted November 22, 2011 Author Share Posted November 22, 2011 <script type="text/javascript"> function ChangeText() { document.getElementById("p50").innerHTML="Your request is now being processed, please be patient."; } </script> Quote Link to comment https://forums.phpfreaks.com/topic/251618-submit-button-not-working/#findComment-1290432 Share on other sites More sharing options...
teynon Posted November 22, 2011 Share Posted November 22, 2011 WIthout going back and researching it myself, my guess would be perhaps that older browsers do the javascript first and possibly since it's disabled, the browser doesn't submit it? Try removing the javascript calls. If that doesn't work, try adding a normal <input type="submit"> and try clicking on it. If that doesn't work, then there is something else wrong (Like your <form tag) Quote Link to comment https://forums.phpfreaks.com/topic/251618-submit-button-not-working/#findComment-1290438 Share on other sites More sharing options...
sphinx Posted November 22, 2011 Author Share Posted November 22, 2011 thanks for attempting to solve the issue: The solver: onClick="ChangeText();this.disabled=true;this.form.submit();" Quote Link to comment https://forums.phpfreaks.com/topic/251618-submit-button-not-working/#findComment-1290444 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.