Link in Javascript alert

user5243421 picture user5243421 · Nov 14, 2009 · Viewed 25k times · Source

I want to put a link in a Javascript alert.

Is this possible? (I've searching for a solution, but I keep getting things about links that fire alerts!)

Answer

rahul picture rahul · Nov 14, 2009

AFAIK you can't do that with a normal javascript alert box.

Make a custom alert box and then make a link inside it.

Here is a nice one

YUI: Dialog Alert Widget

Also a jQuery based one

jQuery Impromptu