er, keyup better than keypress?
This commit is contained in:
parent
29b83dd080
commit
c7093ec092
|
@ -7,7 +7,7 @@
|
|||
{% block head %}
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$('#searchFilter').keypress(function() {
|
||||
$('#searchFilter').keyup(function() {
|
||||
var val = $(this).val().toLowerCase();
|
||||
$('.listItem').each(function() {
|
||||
var txt = $(this).text().toLowerCase();
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{% block head %}
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$('#searchFilter').keypress(function() {
|
||||
$('#searchFilter').keyup(function() {
|
||||
var val = $(this).val().toLowerCase();
|
||||
$('.listItem').each(function() {
|
||||
var txt = $(this).text().toLowerCase();
|
||||
|
|
Loading…
Reference in New Issue
Block a user