Okay, I haven't studied javascript at all and now it's starting to bite
me because I suddenly find myself needing to use some in my php/mysql
web database.
What is the syntax for producing line breaks within the message argument
of an alert box?
I would have thought it would be:
alert("Please correct the following fields:"\n;"Fie ld 1"\n;"Field 2"\n;);
etc.
Can someone please provide a generic example? I will of course continue
googling, etc.
me because I suddenly find myself needing to use some in my php/mysql
web database.
What is the syntax for producing line breaks within the message argument
of an alert box?
I would have thought it would be:
alert("Please correct the following fields:"\n;"Fie ld 1"\n;"Field 2"\n;);
etc.
Can someone please provide a generic example? I will of course continue
googling, etc.
Comment