|
@ -53,15 +53,14 @@ $("#searchContent").keydown(function(e) {
|
53
|
53
|
$("#hsearchContent").keydown(function(e) {
|
54
|
54
|
if(e.which == 13) {
|
55
|
55
|
var searchContent = $("#hsearchContent").val();
|
|
56
|
if($(this).siblings()[0].id=="searchh") {
|
|
57
|
location.href = "/searchNew.html?searchContent=" + encodeURI(searchContent);
|
|
58
|
return;
|
|
59
|
}
|
56
|
60
|
location.href = "searchNew.html?searchContent=" + encodeURI(searchContent);
|
57
|
61
|
}
|
58
|
62
|
})
|
59
|
|
$("#hsearchContentb").keydown(function(e) {
|
60
|
|
if(e.which == 13) {
|
61
|
|
var searchContent = $("#hsearchContentb").val();
|
62
|
|
location.href = "/searchNew.html?searchContent=" + encodeURI(searchContent);
|
63
|
|
}
|
64
|
|
})
|
|
63
|
|
65
|
64
|
$("#hsearch").on("click", function() {
|
66
|
65
|
var searchContent = $("#hsearchContent").val();
|
67
|
66
|
setTimeout(function(){
|