Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- var sp;
- function setPolicy(){
- sp = document.getElementById('policy').value;
- if(sp != "")
- alert("You entered: " + sp)
- else
- alert("Would you please enter some text?")
- }
- </script>
- input type="text" id='policy' size="15" tabindex = "1" onblur="setPolicy()"
Add Comment
Please, Sign In to add comment