Guys,
I'm not able to identify the problem with this code. Error is "Expected end of statement". Please help. Thanks
<script language="VBScript" >
sub vbFunction()
dim iLoop
dim Temp
for iLoop = 1 to document.form1.elements.length
Temp = document.form1.elements[iLoop]
if Temp.checked = true then
'some processing
end if
next iLoop
end sub
</script> [sig][/sig]
I'm not able to identify the problem with this code. Error is "Expected end of statement". Please help. Thanks
<script language="VBScript" >
sub vbFunction()
dim iLoop
dim Temp
for iLoop = 1 to document.form1.elements.length
Temp = document.form1.elements[iLoop]
if Temp.checked = true then
'some processing
end if
next iLoop
end sub
</script> [sig][/sig]