Click to See Complete Forum and Search --> : Line breaks in Alert messages.


Arc
06-27-2003, 05:10 PM
If i wanted to make an alert that looked like this

Please correct the following errors
-Zip must be a number
-Email address is not valid
-First name has no value

etc...

How would i do that? In other words how do i make it not just 1 long line of text?

Thanks!:D

Jona
06-27-2003, 05:11 PM
alert("Please correct the following errors:\n-Zip must be a number\n-Email address is not valid\n-First name has no value\n");


[J]ona

Arc
06-27-2003, 05:12 PM
cool thanks mate!:D

Jona
06-27-2003, 05:14 PM
Welcome you are!

[J]ona