jon24422531
Technical User
Hi Guys
I am trying to introduce a variable (sCode) into my iFrame page but I keep getting an error:
Microsoft VBScript compilation error '800a0400'
Expected statement
/WishListDevelopment/DevTestOpen.asp, line 48
(sCode)
^
This works OK:
But this doesn't, and I've tried all sorts of variations of quotes etc..
Any thoughts on where I am going wrong?
Many thanks
Jonathan
I am trying to introduce a variable (sCode) into my iFrame page but I keep getting an error:
Microsoft VBScript compilation error '800a0400'
Expected statement
/WishListDevelopment/DevTestOpen.asp, line 48
(sCode)
^
This works OK:
Code:
<iframe id="datamain" src="DevOpenDetail.asp?id=303" marginwidth="0" .......
But this doesn't, and I've tried all sorts of variations of quotes etc..
Code:
<iframe id="datamain" src="DevOpenDetail.asp?id=<%(sCode)%>" marginwidth="0" .......
Any thoughts on where I am going wrong?
Many thanks
Jonathan