Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- window.onload = function() {
- document.getElementById('demo').onsubmit = function() {
- alert('hello, ' + document.getElementById('name').value + '!');
- return false;
- };
- }
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement