Is there a javascript code that can link a user to another page besides window.open or the one where it replaces the URL? (I want it so they can click the back button)
@CharlesOct 11.2003 — #[font=georgia]If you promise not to use this in making a JavaScript dependant page then you can use [font=monospace][url=http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/location.html#1194240]location.replace()[/url][/font].[/font]
@CharlesOct 11.2003 — #[i]Originally posted by lmccord2 [/i]
[B]Lol... its a long story.
Anyone have the answer to this? [/B][/QUOTE][font=georgia]Not unless you give us a lot more information. Unless you explain what exactly it is that you are trying to accomplish we can't figure out what it is that you are going on about.[/font]
I have a JavaScript that performs a few actions, like an alert. After the alert, I want the script to send them to a new page. But I don't want window.replace because then you can click back, because window.replace replaces the page with the new one, therefore the old page is not in your back history anymore.
Got it? Its like the most simplist script ever and I can't get any help on it ? lol j/k
@CharlesOct 11.2003 — #[font=monospace]<a href="http://www.w3.org/" onclick="alert('You will now be taken the the fount of all knowlege.'); window.location = this.href; return false">W3C</a>[/font]