diff --git a/Application/Media/View/default/Service/detail.html b/Application/Media/View/default/Service/detail.html index 4ed693f54..dc66c8ed9 100644 --- a/Application/Media/View/default/Service/detail.html +++ b/Application/Media/View/default/Service/detail.html @@ -86,7 +86,8 @@ } var oLis = DOM.getElesByClass("tabOption"); var flag = 0; - var upFlag = oLis.length;; (function() { + var upFlag = oLis.length; + (function() { function fn(e) { e = e || window.event; if (e.wheelDelta) { @@ -180,6 +181,12 @@ // console.log(url); window.location.href = url; }); + + $('#search_value').bind('keypress', function (event) { + if(event.keyCode == 13){ + $('#search_btn').click(); + } + }); })(); \ No newline at end of file