Hi,
I’m trying to change the src of an Iframe from the values passed from a select box, but even though its not coming up with any errors it still isn’t working. I was wondering if someonecould have a quick look at the code to see if I’ve made an obvious mistake.
[code=php]
<!– DROP DOWN–>
<SELECT name=”VERSION” style=”border: 1 solid #C0C0C0; padding: 0; background-color: #ffffff; font-family: arial; font-size=8pt; color: #959494;” onChange=”document.iView.src=this.options[this.selectedIndex].value;”>
<OPTION SELECTED value=”page2.asp”>– Select a version to work on –</OPTION>
<OPTION value=’page.asp?ID=1′>05/05/05</OPTION>
<OPTION value=’page.asp?ID=2′>Blank</OPTION>
<OPTION value=’page.asp?ID=3′>Blank</OPTION>
</SELECT>
<!– AND FUTHER DOWN THE CODE THERE IS THE IFRAME CODE–>
<iframe id=”iView” name=’iView’ style=”width: 524px; height:100%” src=”></iframe>
Cheers in advance
Phil