Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
813 views
in Technique[技术] by (71.8m points)

hyperlink - Link in Javascript alert

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!)

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...