Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBScript dialects?

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
US
What's the differnce between this:<br><br>&lt;%@ Language=VBScript %&gt; <br>where everthing is can be put in between &lt;%...%&gt;<br>when ever you like.<br><br>and this, which seems very much like Visual Basic<br>&lt;SCRIPT LANGUAGE=&quot;VBScript&quot;&gt;<br> Sub BtnHello_OnClick<br> MsgBox &quot;Hello World!&quot;, 0, &quot;My first active document&quot;<br> End Sub<br>&lt;/SCRIPT&gt;<br><br>Where everthing must be in between the <br>&lt;Script&gt;<br>.....<br>&lt;/Script&gt;<br><br>I know that the second one only works in IE-5<br><br>TIA <p>DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br> Ask me how Bar-codes can help you be more productive.
 
clientside script blocks in those &lt;Script&gt; tags work in any version IE , depending on the script commands, but the &lt;script&gt; tag works in any browser that is script enabled(like javascript...)<br><br>&lt;script...&gt; (if not runat=server) is client side scripting, the client see's this code, and everything, and has to be compatible with it, the &lt;% %&gt; is serverside scripting, this information never sent to the client, the client just has to be at the least HTML compatible. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top