Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title></title>
- </head>
- <body>
- <table>
- <th id = "objeto">wilinton</th>
- </table>
- <button onclick = "fun()">click me</button>
- </body>
- <script type="text/javascript">
- function fun()
- {
- cont = document.getElementById("objeto")
- alert("CLICK MOTHERFUCKER "+cont.innerHTML)
- }
- </script>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement