3 <script type="text/vbscript">
13 ' Verifies that we're in VBScript although there is no type specified
14 If true then counter = counter+1
15 function inccounter(x)
19 <script type="text/javascript">
20 // We're in javascript
25 ok(false, "got an exception");
29 ' And back to VBScript
30 If true then counter = counter+1
33 Call ok(counter = 6, "counter = " & counter)
34 Call ok(isNull(document.onkeyup), "document.onkeyup is not null")
35 Call external.reportSuccess()
38 <script type="text/javascript">
39 // We're in javascript
41 <body onload="If true then runTest()">