看板
[ Ajax ]
討論串[問題] 請問如何入jquery的ready去控制函數
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
既然子頁面要用到 inner 把它寫在外面不就好了?. $(document).ready(function(){. // 假設你要 bind button 的 click. $("input#ID").click(theFunction);. //假設你要直接呼叫. theFunction();.
(還有31個字)
內容預覽:
比如. 問題一:. 我要執行. $(document).ready(function(). {. function inner(){}. }. function out1(){. }. function out2(){. }. 裡面的function inner()函數. 要將. 指令. 下在doc
(還有270個字)
首頁
上一頁
1
下一頁
尾頁