Activity Forums Salesforce® Discussions Onchange Event Does Not Work With In Ie9. How To Resolve This Error?

  • Onchange Event Does Not Work With In Ie9. How To Resolve This Error?

    Posted by Aman on September 20, 2018 at 2:52 pm

    Onchange Event Does Not Work With <apex:actionsupport> In Ie9. How To Resolve This Error?

    Parul replied 4 years ago 3 Members · 2 Replies
  • 2 Replies
  • shariq

    Member
    September 20, 2018 at 2:53 pm

    Hi,

    If we add the Header on Visualforce page then it creates lots of problem in IE9. I think there are few java-script library loaded by Header of Salesforce which makes IE9 compatible. So the best solution is to enable the Header by using “showHeader=true” in Apex page.

    Thanks

  • Parul

    Member
    September 20, 2018 at 4:23 pm

    Hi

    you can this code snippet:

    There is a bug of IE9 about onchange event, therefore maybe you could add onpropertychange event on the input(bind both two events):

    <input type="text" onKeyDown="this.value=this.value;" onChange="alert('test');" onpropertychange="alert('change');" />

     

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos