[ASP.net/Javascript] alert()跳行用\n,在C#中用\\n

[ASP.net/Javascript] alert()跳行用\n,在C#中用\\n

Sample:

ClientScript.RegisterClientScriptBlock(typeof(Page), "alert範例", "alert('第一行:\\n  第二行');", true);