/* * 列表查询的enter键支持 * author by 清风 */ function enterEvent() { document.onkeydown = function(event){ var e = event || window.event || arguments.callee.caller.arguments[0]; if (e && e.keyCode==13) { // enter 键 $('#queryBtn').click(); return…
DEMO说明一切: // this is the id of the form $("#idForm").submit(function() { var url = "path/to/your/script.php"; // the script where you handle the form input. $.ajax({ type: "POST", url: url, data: $("#idForm").serial…