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