CSS-07 行内设置点击事件 在标签行内设置点击事件: <a href="#" onclick="obj.search()">查询</a> js代码: obj = { search : function(){ alert(123); } };