Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- function addData (n1, n2) {
- alert(fn+ln);
- }
- </script>
- <body>
- <input Type="text" name="n1">
- <input Type="text" name="n2">
- <button onClick="addData(n1.value,n2.value)">click</button>
- </body>
Add Comment
Please, Sign In to add comment