2014-02-04 後端呼叫javascript 4727 0 ASP.NET 摘要:後端呼叫javascript A.aspx <script type="text/javascript"> function Popup(msg) { alert('訊息視窗 = ' + msg); } </script> A.aspx.cs Page.RegisterStartupScript("Show", "<script language=JavaScript>Popup('"+字串+"');</script>"); 回首頁