<elseif>
<elseif>
Used in conjunction with the <if>
tag.
Attributes
Name
Data type
Description
cond
String
An ECMAScript expression to evaluate.
Notes
None
Example
The output of the above script would be:
Computer: Say the magic number between one and nine. Human: Three. Computer: Try again. Say the magic number between one and nine. Human: Six. Computer: You're close. Try again. Say the magic number between one and nine. Human: Five. Computer: You guessed correctly!
Child Tags
None
Parent Tags
Last updated