none
IE11 triggers input event when value contains umlaut

    Question

  • I have a strange problem, 

    We are loading the content to a page through ajax, response contains some input tags with values 

        <input type="text" value = "cédille" id="textField">

    and added inputevent to the input components. Event should trigger on paste,cut.

        $("#textField").on('input',function(){...});


    Expecting any change in text field have to trigger the input event listener. But event triggering on loading the page when input value contains umlaut(like ä,é).

    JS Fiddle :https://jsfiddle.net/Subbu__S/qs7oz0g0/5/

    Only occurs in IE11, 
    Checked in the version : 11.0.49, 11.0.50 (might be in other version)

    I'm very thankful provide any solution.

    Wednesday, January 31, 2018 2:20 PM

All replies

  • Hi EDGE Browser problem with selectionStart,

    According to your description, I have created a test demo I face the same issue.

    I found this codes work well in ie9.

    I suggest you could try to use the meta tag to force ie use ie9, it will work well.

    <meta http-equiv="X-UA-Compatible" content="IE=9" />

    Best Regards,

    Brando


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    Friday, February 02, 2018 7:38 AM
  • <meta http-equiv="X-UA-Compatible" content="IE=9" /> not interested to decrease my compatibility.

    expecting the fix in IE11

    Thursday, February 15, 2018 3:04 PM