$(function() { $("#txtSearch").unbind("keyup").bind("keyup", function(n) { return 13 == n.keyCode ? (Search(path), !1) : void 0 }) });