[ASP.net/Javascript] alert()跳行用\n,在C#中用\\n
Sample:
ClientScript.RegisterClientScriptBlock(typeof(Page), "alert範例", "alert('第一行:\\n 第二行');", true);
[ASP.net/Javascript] alert()跳行用\n,在C#中用\\n
Sample:
ClientScript.RegisterClientScriptBlock(typeof(Page), "alert範例", "alert('第一行:\\n 第二行');", true);