|
-
Apr 6th, 2004, 08:59 PM
#1
Thread Starter
Member
adding vbscript into html
hi all,
i'm having some problems here, heres a line of my code that keeps causing the error.
<input type="Checkbox" name="ChkDelete" id="ChkDelete" onClick="Call SaveCheck()" value="<%=mintCompanyID%>">
the error msg is:
Runtime error
Line 131
Error: Expected ';'
and line 131 is actually the html above... i can't find any problem to this html, but i believe its the onClick part tat cause it. there is one thing i nid to ask
1) there is no nid to insert semi colon at the end of the code rite? since its in vbscripting.
2) will the script tag affects and cause this problem?
as i search through the forums some ppl say if u were to change the way u declare it would work fine. but i tried but it doesn't work.
fyi: this is how i declare my script tag
<SCRIPT language=VBScript>
thanks guys
cheers,
stupidz
batteries not included. each sold seperately.
------------------------------------------
contents contain small parts, not suitable for children under 12.
-
Apr 6th, 2004, 10:07 PM
#2
I NEVER use vbscript, for client side scripting, always use JavaScript. Anyhow try removing the "Call" bit and try it. That might work, just a guess.
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
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
|