1 Reply Latest reply on Apr 1, 2016 3:59 PM by Eddie Lotter

    When the focus is on a button, in the enter key click the onclick event is not firing

    anoopnr134 Level 1

      Hi All,

       

      When the focus is on a button (by tabbing from the previous control), and when we do the enter key click the onclick event assigned to the button is not working.

      Button is directly placed in the panel HTML5 page.

      Here is the sample code.

      <button id="okBtn" class="controlBg textStyle" onClick="showAlert()">OK</button>

      Can you please help us to solve this issue.

       

      Thanks and Regards,

      Anoop NR