Can this be done?
I have 3 scripts, .VBS files. The first builds an HTML page and a working file. The other 2 take the working file and perform actions. I need code on the HTML that invokes the other 2 VBS files.
gives me HTML line:
<INPUT TYPE=BUTTON OnClick="discomp.vbs" VALUE="Disable"> 4 Computers from TestDomain<br>
But that's a syntax error. Any way to do this without putting the contents of the VBS into the HTML as a subroutine? I'd like to keep them seperate if at all possible.
I have 3 scripts, .VBS files. The first builds an HTML page and a working file. The other 2 take the working file and perform actions. I need code on the HTML that invokes the other 2 VBS files.
Code:
objPendRpt.writeline "<INPUT TYPE=BUTTON OnClick=" & Chr(34) & "discomp.vbs" & Chr(34) & " VALUE=" & Chr(34) & "Disable" & Chr(34) & "> " & count & " Computers from " & Dom & "<br>"
gives me HTML line:
<INPUT TYPE=BUTTON OnClick="discomp.vbs" VALUE="Disable"> 4 Computers from TestDomain<br>
But that's a syntax error. Any way to do this without putting the contents of the VBS into the HTML as a subroutine? I'd like to keep them seperate if at all possible.