Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form id="form">
- <input type="text" class="form-control" name="number />
- <button class="btn" type="button" onclick="fun();>Принять</button>
- </form>
- function fun() {
- var str = document.getElementById("form").value;
- alert(str);
- }
Add Comment
Please, Sign In to add comment