切换显示隐藏,不是点击
代码发出来看看
你应该加载click里面 $(function () {$("input").click(function(){ $("input").toggle(function () { alert(); });}); });
有没有代码啊?