2013-05-14 50 views

回答

5

裏面你的頁面的只是添加腳本標籤

somepage.cshtml

<script> 
window.onload = function(){ 
    //script goes here 
}; 
//or if you prefer jQuery 
$(function(){ 
    //script goes here 
}); 
</script> 
1

只需在您的HTML如下:

<script> 
    $(function() { FetchFunctions() }); 
</script> 
相關問題