5 Replies Latest reply on May 8, 2006 3:50 PM by cfpb

    Java Script Problem

      ok guys , here is the Dilema .
      I have three button in my Paye of type="button" so what i want to do is whenever user press Enter on the Key board then one of the button let say 'search' get focus and function corresponding to that button should get invoked .

      i know it will be some thing like

      if (window.event.keyCode == 13)
      // what ever .
      but where actaully i have to place it i mean what event will invoke it in the page

      Or How to make a Default Button in coldfusion ?

      any idea ?