2011-07-09 47 views
0

可能重複:
jQuery .load() call doesn't execute javascript in loaded html file怎麼一次加載js文件到.load()的原始頁面?

頁面加載與.load(),不能使用jQuery? do會重新加載文件js到.load()加載頁面嗎? 如何在頁眉中加載一次js文件? 這是一個裝有.load內容頁面()

<script type="text/javascript" src="files/js/jquery-1.6.min.js"></script> 
<script type="text/javascript" src="files/js/ok.js"></script> 
// not want this js files (jquery-1.6.min.js - ok.js) load here 
//i once they to page original load, with this load is twice load 
<div class="insert"> 
    <form action="" method="post"> 
     <table class="servicesT" cellspacing="1"> 
      <tr> 
       <td colspan="2" class="servHd"> 
        hello 
       </td> 
      </tr> 
      <tr> 
       <td> 
        <input type="text" name="name" placeholder="name" title="name"> 
       </td> 
       <td class="servBodL"> 
       </td> 
       <td class="servBodL"> 
       </td> 
      </tr> 
     </table> 
    </form> 
</div> 
+2

這是真的很難理解你的要求 - 你可以嘗試重組問題? – redsquare

+0

'

相關問題