Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery key enter events

$('#twitterSearch').keydown(function(event){ 
    var id = event.key || event.which || event.keyCode || 0;   
    if (id == 13) {
        $('#startSearch').trigger('click');
    }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #key #enter #events
ADD COMMENT
Topic
Name
2+6 =