M
micahl0180
I am trying to get an alert box with line breaks in it. I want to display a
couple pieces of information, and want them broken up. I tried using \n to
get a new line, but kept getting errors in my code. Any suggections?
Thanks in advance,
ML
alert("The combination you have selected: " + \n + "Background Color: " +
color1 + \n + "Text Color: " + color2)
Of course color1 and color2 have been declared and defined, so I know there
isn't an error there. Any suggections would be greatly appreicated.
Thanks again.
couple pieces of information, and want them broken up. I tried using \n to
get a new line, but kept getting errors in my code. Any suggections?
Thanks in advance,
ML
alert("The combination you have selected: " + \n + "Background Color: " +
color1 + \n + "Text Color: " + color2)
Of course color1 and color2 have been declared and defined, so I know there
isn't an error there. Any suggections would be greatly appreicated.
Thanks again.