Click to See Complete Forum and Search --> : Need Alert Message Help!!!


Jaguarion
03-07-2004, 01:36 PM
I am using the following code:

<SCRIPT language="JavaScript">alert("I need to put a hyperlink here.") </SCRIPT>

I have looked everywhere, and experimented endlessly to try and insert a hyperlink into the alert. Is it possible? Can someone help me? Thank you.

steelersfan88
03-07-2004, 01:40 PM
you can't do that, but you try eithe rof the following two scripts:<script type="text/javascript">

alert("Click to go to a page!")
window.location = "page.htm"

</script>or<script type="text/javascript">

if(confirm("Press OK to go to a page and Cancel to remain put.")) {
window.location = "page.htm"
}

</script>

fredmv
03-07-2004, 01:41 PM
Welcome to the forums.

Not possible. You'll have to use some kind of custom dialog like this (http://www.diades.co.uk/aatest/v1.0/) to emulate it.

steelersfan88
03-07-2004, 02:17 PM
what Fred is saying is have something that looks like an alert come up and have a hyperlink on that, you can ask him more about that, I would just use the boring methods I posted above!

And sorry that I forgot to welcome you to the forums.