I have an Classic ASP application. The application will now be used in IE11, and for making it compatible with the same, I used the meta tag
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
The page triggers emails to people who are mentioned in them. The page has two buttons, namely Back and Submit.
Back:
<button class="buttonInput"
style="cursor:hand"
name="btnBack"
value="Back"
onClick="javascript:history.back()">Back</button>
Submit:
<button class='buttonInput' style='cursor:hand' name='btnSubmit' value='Submit' onClick='javascript:document.forms[0].submit()'>Submit</button>
The usual behavior of the page is to send emails once submit is clicked.
But once the <meta>
is included, the Cancel button too triggers mails.
Any Ideas as to why this could be happening? I really am not able to decipher the issue.
PS: I have used other versions of IE in my meta tag and it doesn't make any difference.