Created
May 9, 2018 04:06
-
-
Save theskillwithin/8dc63074f14a8a9bfad5980a045dbe62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Формы</title> | |
<script type="text/javascript"> | |
//unction Na(){} | |
number = function() { this.hasNumber == number } | |
function YayyyNumber() { if(document.getElementById('numberio').value==number) document.getElementById(text).style.display=block } | |
//w Bird().walk() // в обоих случаях | |
//new Rabbit().walk() // this будет указывать на текущий объект | |
</script> | |
</head> | |
<body> | |
<form> | |
<p> | |
<input type="text" name="numberio" width="200" > | |
<input type="button" onclick="YayyyNumber()" > | |
</p> | |
<div id="text" style="display: none; color: #000;">THIS IS NUMBER</div> | |
</form> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment