|
-
June 19th, 2003, 03:07 PM
#1
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
Bengi
-
June 20th, 2003, 11:49 AM
#2
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
-
June 23rd, 2003, 03:57 PM
#3
i use the onmouseover/onmouseout javascript messages..
Bengi
-
June 24th, 2003, 01:39 AM
#4
just put javascript before 'this' like this:
<td onmouseover='javascript:this.bgcolor=red'>
-
June 25th, 2003, 01:19 AM
#5
ok, thnx
i think that we can use the 'ME.' if vb script exists?
Bengi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|