Edit The Code:
See Result »
Try it Yourself - ©
w3big.com
<!DOCTYPE html> <html> <head> <script type="text/vbscript"> sub mySub() MsgBox("Hello world") end sub </script> </head> <body> <button onclick="mySub()">Click to get a messagebox</button> </body> </html>