jQuery [RESOLVED] submit form via enter key
Results 1 to 2 of 2

Thread: [RESOLVED] submit form via enter key

  1. #1
    Member
    Join Date
    Sep 2010
    Posts
    80

    resolved [RESOLVED] submit form via enter key

    Hey all,

    I've tried to submit the form data with the enter key, So I made some tests like that

    HTML Code:
        $('#myid').keyup(function(e) {
        //alert(e.keyCode);
        if(e.keyCode == 13) {
        alert('Enter key was pressed.');
        }
        });
    And it's not showing the alert, Nothing happen and nothing appear.

    What's the problem ? I think I've something missed in the detecting code.

  2. #2
    Member
    Join Date
    Sep 2010
    Posts
    80
    Yup, Just fixed it. Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •