WidowMaker
IS-IT--Management
Hey Guru's, (with sugar on top ;-) )
is it possible to use variables from VBScript into HTML?
Im getting a lot of variables from an INI file by using VBS and an ActiveX control, and would like to use these in HTML..
Ex: The "1st", "2nd", "3rd" shall be replaced by the varibles "A", "B" and "C" ... Any ideas?!?
<HTML>
<HEAD>
<TITLE> type_Document_Title_here </TITLE>
</HEAD>
<BODY>
<form name="SOMEFORM" method="post">
<INPUT TYPE=RADIO NAME=SOMERADIO VALUE="1" > 1st<BR>
<INPUT TYPE=RADIO NAME=SOMERADIO VALUE="2" > 2nd<BR>
<INPUT TYPE=RADIO NAME=SOMERADIO VALUE="3" > 3rd<BR>
<SCRIPT language="vbscript">
SOMEFORM.SOMERADIO(1).checked = true;
</SCRIPT>
</form>
</BODY>
</HTML>
is it possible to use variables from VBScript into HTML?
Im getting a lot of variables from an INI file by using VBS and an ActiveX control, and would like to use these in HTML..
Ex: The "1st", "2nd", "3rd" shall be replaced by the varibles "A", "B" and "C" ... Any ideas?!?
<HTML>
<HEAD>
<TITLE> type_Document_Title_here </TITLE>
</HEAD>
<BODY>
<form name="SOMEFORM" method="post">
<INPUT TYPE=RADIO NAME=SOMERADIO VALUE="1" > 1st<BR>
<INPUT TYPE=RADIO NAME=SOMERADIO VALUE="2" > 2nd<BR>
<INPUT TYPE=RADIO NAME=SOMERADIO VALUE="3" > 3rd<BR>
<SCRIPT language="vbscript">
SOMEFORM.SOMERADIO(1).checked = true;
</SCRIPT>
</form>
</BODY>
</HTML>