$(document).keyup(function(e){spa
var curKey = e.which; it
if(curKey==13){io
//調用查詢方法function
query();方法
}查詢
});query