use keyup and not keydown for search input

This commit is contained in:
Sanj 2012-02-20 22:33:18 +05:30
parent c5cfaa24eb
commit f85895b7ec
2 changed files with 2 additions and 1 deletions

View File

@ -48,6 +48,7 @@ html, body {
.selectedStop { .selectedStop {
color: blue; color: blue;
} }
.clear { .clear {
clear: both; clear: both;
} }

View File

@ -60,7 +60,7 @@ $(function() {
}); });
}); });
$('.listSearch').keydown(function(e) { $('.listSearch').keyup(function(e) {
var val = $(this).val(); var val = $(this).val();
var name = $(this).attr("id").replace("Search", ""); var name = $(this).attr("id").replace("Search", "");
var $list = $('#' + name + "List"); var $list = $('#' + name + "List");