Announcement

Collapse
No announcement yet.

How to Make Default Button?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to Make Default Button?

    hellow friends, can enybody know how to make a default button so that when user enter some text in textbox and then pess Enter then button_click event should fires. If any body have idea then pls help me.
    My website: thiet ke web, thiet ke web cong ty - My facebook: @alinasunder9x

    #2
    $(document).ready(function()
    { $('#TextBoxId').keypress(function(e)
    { i
    f(e.keyCode==13) // 13 is enter key code
    $('#linkadd').click();
    });
    });

    Comment

    Working...
    X