-2
我想在應用程序主頁完全加載後顯示一個警告框。打開頁面完成加載顯示警告框
我想在應用程序主頁完全加載後顯示一個警告框。打開頁面完成加載顯示警告框
使用jQuery libaray
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
然後使用
$(function() {
alert("ready!");
});
或
$(document).ready(function() {
alert("ready!");
});
[你嘗試過什麼?](http://mattgemmell.com/what-have-你試過/) – Blachshma
Page_LoadComplete – user662285
複製:[在整個ASP.Net頁面加載時調用Java腳本警報函數](http:// stackoverflow。 com/questions/10091445/calling-java-script-alert-function-when-entire-asp-net-gets-load?rq = 1) – Blachshma