Hi,
Is it possible to change the src for an IFRAME with javascript?
I'm trying stuff like:
// javascript
function redirect(){
document.testingframe.src="http;//}
// html
<form onsubmit="redirect()">
<input type="submit" value="accessiores">
</form>
<iframe id="testingframe" name="dataFrame" src="cgi-bin/test2.cgi" frameborder="0" height="400" hspace="5" width="650"></iframe>
Thanks for any help.
Tijs
Is it possible to change the src for an IFRAME with javascript?
I'm trying stuff like:
// javascript
function redirect(){
document.testingframe.src="http;//}
// html
<form onsubmit="redirect()">
<input type="submit" value="accessiores">
</form>
<iframe id="testingframe" name="dataFrame" src="cgi-bin/test2.cgi" frameborder="0" height="400" hspace="5" width="650"></iframe>
Thanks for any help.
Tijs