Frames and JavaScript
I'm writing a javascript code so the name of the visitor appeares on the page. However, I can't seem to do it with frames. Is there a way to do it?
I'm writing a javascript code so the name of the visitor appeares on the page. However, I can't seem to do it with frames. Is there a way to do it?
John Pollock posted this at 16:51 — 14th December 1999.
He has: 628 posts
Joined: Mar 1999
Place the script inside the code for the frame you want it to show up in, that should take care of it for you.
randygordjr posted this at 20:39 — 14th December 1999.
They have: 15 posts
Joined: Dec 1999
Thanks, that works. Is there a Javascript code that would allow me to refer to another page to get the information from another JavaScript?
[This message has been edited by randygordjr (edited 14 December 1999).]
John Pollock posted this at 21:13 — 14th December 1999.
He has: 628 posts
Joined: Mar 1999
You could use an external .js file, see:
http://www.pageresource.com/jscript/jxtern.htm
for more on how to make the .js file work.
randygordjr posted this at 05:00 — 15th December 1999.
They have: 15 posts
Joined: Dec 1999
That works. However, I only want the user to enter the data once while on the page.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.