-
VBScript & JavaScript
heya guys, i wonder if u know how to fix this prob,
i have a few <td> 's with a 'this.bgcolor=...' in them, it all worked fine in my asp page till i used vbscript function for buttons,
once i opened a:
<SCRIPT LANGUAGE=vbscript>
<!--
...
.
...
-->
</SCRIPT>
my this.bgcolor line does not work and i get an error message : "object required: 'this'" ????
how can i fix it ?
thnx
-
VBscript does not support the this keyword...
Anyhow, why are you saying this.bgcolor in you td's
You could just have it as <td bgcolor="blue">
Satish
-
i use the onmouseover/onmouseout javascript messages..
-
just put javascript before 'this' like this:
<td onmouseover='javascript:this.bgcolor=red'>
-
ok, thnx
i think that we can use the 'ME.' if vb script exists?