[問題] 同時使用數個js檔時

看板Web_Design作者 (騙人布...)時間17年前 (2008/06/28 18:07), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
check.js(用來檢查使用者的input) thickbox.js(http://jquery.com/demo/thickbox/) //a.html <script type="text/javascript" src="../thickbox/jquery.js"></script> <script type="text/javascript" src="../thickbox/thickbox.js"></script> ........... <a href="b.html?KeepThis=true&TB_iframe=true class="thickbox">發文 </a> ........... //b.html <script type="text/javascript" src="../check.js"></script> ............... <span class="check"> <input type="text" name="title" value=""/> </span> 想問一下我從a.html用thickbox開啟b.html時,為什麼使用者檢查的功能就失效了 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.166.84.36

06/28 23:39, , 1F
他是不是用iframe 那你要在b.html裡面加check.js
06/28 23:39, 1F
文章代碼(AID): #18PWry7Y (Web_Design)