0
我有問題使這個JavaScript框出現,我想我做錯了,但不知道它是什麼。請原諒以前沒有用過Page.ClientScript。基本上,我想顯示這個框,如果他們點擊確定,它會繼續處理我的邏輯,否則,如果他們點擊取消,它將保持他們在同一頁顯示確認框不工作
這就是我所擁有的。
Page.ClientScript.RegisterStartupScript(this.GetType(),
"ConfirmBox", "Confirm('The numbers selected are not in the directory,
Do you wish to continue?');", true);
我將不勝感激任何幫助。謝謝