前端页面 script 事件总结 1. input 失去焦点是触发事件 $("#sn").blur(function(){ alert("sdfasdf"); }); 2. 获取文本框中的 值 var obj=$("#sn"); alert(obj.val())