-
iFrame & Variables
In an ASP script that I am developing, I have the following HTML being implemented (outside ASP tags)
Code:
<iframe width="542" id="idContent" height="350"></iframe>
and I also have a variable in ASP called 'strContent'.
My problem is that I want the contents of this variable to be displayed inside the iFrame when it loads
(similar to the 'value' object in text input types).
Does anyone have any ideas how I can do this because I've tried using VALUE, SRC and simply putting it betting the opening and closing tags to no avail.
Thanks,
Adam
-
iFrames are very complicated, I will read my documentation on what you are trying to do.. as I have done that before.
-
-
hi
I guess this shd work:
Code:
<html>
'
'
'
'
<iframe height=200 width=200 src="myfile.asp?p=123"></iframe>
'you can subs. 123 with any value using asp.
'the rest of the page
'then in myfile.asp
just use it normally...
myvar = request.querystring("p")
hope this helps...:)