J
JohnE
Hello. I am using the quick and dirty javascript messagebox for
instructional messages during certain events. Below is the setting up the
messagebox. Then I use AlertMessageBox("The instructional information to the
users here.") in different events. But there are times when the message can
get long.
private void AlertMessageBox(string message)
{
if (!string.IsNullOrEmpty(message))
{
Response.Write("<script type=\"text/javascript\"
language=\"javascript\">");
Response.Write("alert('" + message + "');");
Response.Write("</script>");
}
}
How do I get a second line, like a carriage return to create the next line?
Sample or links are good.
Thanks.
instructional messages during certain events. Below is the setting up the
messagebox. Then I use AlertMessageBox("The instructional information to the
users here.") in different events. But there are times when the message can
get long.
private void AlertMessageBox(string message)
{
if (!string.IsNullOrEmpty(message))
{
Response.Write("<script type=\"text/javascript\"
language=\"javascript\">");
Response.Write("alert('" + message + "');");
Response.Write("</script>");
}
}
How do I get a second line, like a carriage return to create the next line?
Sample or links are good.
Thanks.