I have encountered a strange issue with IE10 when redirecting the page on an 'oninput' event, which does not occur with Chrome. I have simplified the code to demonstrate the problem:
<html>
<head>
<script type="text/javascript>
function onChangeInputText()
{
window.location.href = "oninput_problem.html"; // Go back to this page.
}
</script>
</head>
<body>
<input type="text"
oninput="onChangeInputText()"
value="£"
/>
</body>
</html>
When accessing this code in IE10 on my Windows 7 PC, it repeatedly redirects as if initializing the input text box's value triggers an immediate 'oninput' event. However, changing the initial value from '£' to 'A' prevents the repeated redirection.
I first noticed this issue in a project where user input should trigger a delayed page refresh. The problem started when I entered a '£' symbol. The code above is my attempt to isolate the cause of the problem.
Has anyone else experienced this issue with IE10? Any insights into why IE10 behaves this way?