...

View Full Version : Use italics in a Javascript alert box



dakelv
12-11-2006, 06:02 PM
Hi,

I am trying to code an alert box in which a few words in the alert message should be italicized. I know that I need to use some kind of escape sequence to achieve this, but couldn't find anything after searching google and this forum.


For example, how do I make the word "You" in the following code italicized?



alert("You are the one!");


Thanks in advance.

jkd
12-11-2006, 06:04 PM
You can't have italic text using alert().

dakelv
12-11-2006, 06:05 PM
Thanks for the quick reply!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum