Hi all,
using classic ASP with VBScript and Javascript.
I have an IFrame on my page which i intend to change dependant on a selection within my main page, this saves reloading the logo etc whenever a user wants to navigate between areas.
I have declared my iframe and gave it an id(srvPage)
within my td(which i want to use as the onclick to navigate round the menus) i have
then as my function i have
I Keep getting a javascript error with the error as: expected ';'
Am i missing something here, been a while since i've played with javascript and iframes....
Cheers
for any thoughts or ideas
daveJam
*two wrongs don't make a right..... but three lefts do!!!!*
using classic ASP with VBScript and Javascript.
I have an IFrame on my page which i intend to change dependant on a selection within my main page, this saves reloading the logo etc whenever a user wants to navigate between areas.
I have declared my iframe and gave it an id(srvPage)
within my td(which i want to use as the onclick to navigate round the menus) i have
Code:
<td onclick=javascript:passForm("clList.asp")>Client List</td>
then as my function i have
Code:
<script>
passForm(a){
document.getElementById('srvPage').src = a;
}
</script>
I Keep getting a javascript error with the error as: expected ';'
Am i missing something here, been a while since i've played with javascript and iframes....
Cheers
for any thoughts or ideas
daveJam
*two wrongs don't make a right..... but three lefts do!!!!*