This commit is contained in:
Ilya Kantor 2017-10-15 00:07:07 +03:00
parent 4d60cd525f
commit 07d1188bfa

View file

@ -30,7 +30,6 @@ In the example below:
</style>
Your email please: <input type="email" id="input">
<input type="text" style="width:200px" placeholder="make email invalid and try to focus here">
<div id="error"></div>
@ -69,6 +68,7 @@ For instance, let's make the visitor unable to leave the input if the value is i
</style>
Your email please: <input type="email" id="input">
<input type="text" style="width:200px" placeholder="make email invalid and try to focus here">
<script>
input.onblur = function() {