0
以下是我的jQuery功能,如有可能请更正,并让我知道我错在哪里。萤火虫控制台错误:无效标签
$("#id").click(function() {
start : appendLayout(this.id) // invoking another function to do and this part is working.
stop : (function(){
if(true){ alert("please create project"); }
}) // not working, getting error in firbug console if i change anything
});
什么是开始还是停止?你在这里显示的是无效的JavaScript。 –
好的。感谢Darin。 – user1010399
我正试图在两个事件中执行任务,这就是为什么我使用'start stop' – user1010399