Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text Formatting In Alert & Confirm??? 1

Status
Not open for further replies.

arpan

Programmer
Oct 16, 2002
336
0
0
IN
Can the text message in an alert box & a confirm box be formatted? For e.g. displaying the message bold or italic or of different colors.

Thanks,

Arpan
 
No, I think all you can do is force a new line in an alert using /n or was it \n.

If you want full html in an alert type box then its best to use a modal or modeless dialog box.

ASCII silly question, get a silly ANSI
 
you could always just open another custom size window with not menubars and have it display your formated stuff in there, other wise the alert("") fucntion doesn't format.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top