Return to Snippet

Revision: 62859
at March 19, 2013 02:02 by robertoy


Initial Code
$('#content_id').delegate('input[type="text"]', 'keypress', function(e){
  if (e.keyCode == 13) {
    var l_index = $('input[type="text"]', '#content_id').index($(this));
    $('input[type="text"]:eq('+(l_index+1)+')', '#content_id').focus();
    return false;
  }
});

Initial URL

                                

Initial Description
Use "Enter" as "Tab"

Initial Title
Use \"Enter\" as \"Tab\"

Initial Tags

                                

Initial Language
jQuery