看板 [ Ajax ]
討論串[問題] 請問如何入jquery的ready去控制函數
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者darkk6 (Mr. Pan)時間14年前 (2011/10/29 23:24), 編輯資訊
0
0
0
內容預覽:
既然子頁面要用到 inner 把它寫在外面不就好了?. $(document).ready(function(){. // 假設你要 bind button click. $("input#ID").click(theFunction);. //假設你要直接呼叫. theFunction();.
(還有31個字)

推噓4(4推 0噓 7→)留言11則,0人參與, 最新作者robinnpca (rob)時間14年前 (2011/10/28 16:17), 編輯資訊
0
0
0
內容預覽:
比如. 問題一:. 我要執行. $(document).ready(function(). {. function inner(){}. }. function out1(){. }. function out2(){. }. 裡面的function inner()函數. 要將. 指令. 下在doc
(還有270個字)
首頁
上一頁
1
下一頁
尾頁