August 1999
Intermediate to advanced
1488 pages
72h 53m
English
@_jscript
The @_jscript variable is used in conditional compilation to determine if JScript is being used. This variable is always true.
Listing 9.2 displays an alert box based on the value of the @_jscript variable.
<script language="JScript">
<!-- Hide
@if (@_jscript)
alert("The @_jscript variable is true.");
@else
alert("The @_jscript variable is NOT true.");
@end
//Hide End -->
</script>
|
Read now
Unlock full access