Forum Moderators: open
If I understand you correctly you would like to be able to capture a URL typed into a form and use it to be displayed in an iFrame?
If you can use a server side language you can submit the form to the iFrame (using target) and then redirect the form processing page to the URL entered.
You can also use JavaScript. If you set the method on your form to GET:
<form method="GET" action="myPage.html" target="iFrameName">
The data entered into your form is added to the URL:
myPage.html?name=BlobFisk&location=London&URL=www.webmasterworld.com
Then you use JavaScript to captured the URL encoded data and use location.href to redirect the iFrame.
HTH
This information is sent to a html page which displays it.
name
address
http:// whatever.com
I get this info ok, but I want the URL to be linked to itself. I then gather this information in an iframe on another display page. I don't know how to link it. Is it <A HREF=" the url info "> What goes here?</A>
Thanks,
Dennis
Edit Reason: De-linked example URL
[edited by: BlobFisk at 2:55 pm (utc) on May 14, 2004]
Edit Reason: De-linked example URL
[edited by: BlobFisk at 3:37 pm (utc) on May 14, 2004]