Try this ... hope this is wha you are looking for
<SCRIPT Language="VBScript>
Sub Flip()
'some code
Window.event.returnValue = False
end Sub
</SCRIPT>
Try this ...
<html>
</head>
<script language="vbscript">
Sub disp()
Dim i
Dim itms
For i = 0 to (mulSel.Options.Length-1)
if mulSel.Options(i).selected Then itms = itms & _
mulSel.Options(i).value & " - " & _
mulSel.Options(i).Text & vbcrlf
Next
msgbox itms...
I was trying to move the rows in a table with vbscript using InsertBefore() method. While the Javascript version works fine , vbscript throws an error "Invalid Argument". Since our Intranet uses VBScript mainly, we want to stick with VBS. Have attached sample code. HELP !!
<html>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.