Quicksearch is really cool... but it has a usability issue that makes it behave weird. A lot of users presses enter after inserting a string so the page is reloaded with no parameters and the queries are destroyed.
Quicksearch真的很酷......但它有一个可用性问题,使它表现得很奇怪。许多用户在插入字符串后按Enter键,因此重新加载页面时没有参数,并且查询被销毁。
look at that: http://www.parksmania.it/parco_list.php?rid=1
看看那个:http://www.parksmania.it/parco_list.php ?rid = 1
Adding
$('form#filtroRapido').submit(function () { return false; });
doesn't work! Has someone already solved this?
不起作用!有人已经解决了这个问题?
2 个解决方案
#1
2
Maybe with live ?
也许有现场直播?
$('form#filtroRapido').live('submit', function (ev) {
ev.preventDefault();
return false;
});
#2
0
Did you try this yet?
你试过这个吗?
$('form#filtroRapido').submit(function (eve) {
eve.preventDefault();
return false;
});
#1
2
Maybe with live ?
也许有现场直播?
$('form#filtroRapido').live('submit', function (ev) {
ev.preventDefault();
return false;
});
#2
0
Did you try this yet?
你试过这个吗?
$('form#filtroRapido').submit(function (eve) {
eve.preventDefault();
return false;
});