internet explorer 10 - IE10 oninput event repeatedly triggered on redirection -
i've been experiencing odd problem ie10 when redirecting page on 'oninput' event (with no equivalent issue when using chrome). i've produced pared-down version of code still exhibits problem, follows:
<html> <head> <script type="text/javascript"> function onchangeinputtext() { window.location.href = "oninput_problem.html"; // page. } </script> </head> <body> <input type="text" oninput="onchangeinputtext()" value="£" /> </body> </html>
on windows 7 pc using ie10, code when browsed (either double clicking or via apache) repeatedly redirects if act of initialising value of input text box generating immediate 'oninput' event. however, when change initial input text box value '£' symbol letter 'a', repeated redirection doesn't occur.
i first noticed problem part of project i'm working on. in case, user's input should cause delayed page refresh, began repeatedly redirecting when entered '£' symbol. say, above code pared-down version produced in trying track causing issue.
does else experience using ie10? if so, can explain why ie10 behaving way?
thank in advance.
i've found following appears indicate may bug in ie10:
social.msdn.microsoft.com: event oninput triggered on page load
also, there's follow-up bug report (within page linked above):
connect.microsoft.com: oninput event fires on loading page when input @value non-ascii
edited add: @ bottom of page pointed second link, there's seem unhelpful reply microsoft stating unable reproduce bug described, may while before issue fixed...
Comments
Post a Comment