»
EnglishFrenchVietnamese

Print - Click Random Number Button - JavaScriptBank.com

Full version: jsB@nk » Game » Click Random Number Button
URL: https://www.javascriptbank.com/click-button-win.html

Click Random Number Button © JavaScriptBank.comClick the button until there are three same numbers.

Full version: jsB@nk » Game » Click Random Number Button
URL: https://www.javascriptbank.com/click-button-win.html



HTML
<form name="f"><font face="Comic Sans MS" size="5" color="#000080"><b>Click the button and the value of the other three buttons change random.</b></font><p align="center"><font face="Comic Sans MS" size="5" color="#000080"><b>If the three values become equal then you win..........</b></font><br><input type="button" value="         CLICK        " name="C"> <br><input type="button" value="   " name="b1"> <input type="button" value="   " name="b2"> <input type="button" value="   " name="b3"> </form><script language="vbscript">Randomizel=6u=8cl=1sub C_onclickdocument.F.b1.value=int((u-l+1)*rnd+l)document.F.b2.value=int((u-l+1)*rnd+l)document.F.b3.value=int((u-l+1)*rnd+l)document.F.C.value= "YOU CLICKED  "&cl&" TIMES"if document.F.b1.value=document.F.b2.value and document.F.b3.value=document.F.b2.value thenmsgbox "WIN       "&" YOU CLICKED "&cl&" TIMES"end ifcl=cl+1end sub</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->