none
key press event RRS feed

  • Question

  • hi ,

    i need to handle when user press enter key  do specific action " Action 1" when the user press enter again   after " Action 1" completed i need to do anotther action " Action

    i try to use this code:

     

    $('#selector').keydown(function (event) { if (event.keyCode == 13) { Action 1

    if(event.keyCode==13){ Action 2 } }

    but still not work , any help

    thanx in advance






    Monday, October 22, 2012 6:45 AM

Answers

All replies