Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Submit button is not working in IE 11

$
0
0

My application is working perfectly in IE 8 and IE 11 comparability mode, But in the  IE 11, the submit button is not working.  My html page is generated with JSP code. Below is the code which i am using.  

<html:form action="/action.do" method="post"  name="actionname"  scope="request"  type="com.Form">

<html:submit styleClass="buttons" property="submit"  value="Save" onclick="javascript: return onSave(this);" />

function onSave(obj) {

if(obj.value == 'Save') {

var i = confirm("Are you sure to delete this record?\n\n");

if(!i) return false;

document.erDocForm.subAction.value="saveme";

 

}

return true;

}

In IE 11 nothing is happening when i click on the button.  

If i explicitly called a submit(); in the onSave function, page is submitted but no proper values are send to the server. Can some one help.


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>