<html> <head> <title> click button </title> </head> <mce:script language="javascript"><!-- function ClickBtn() { alert("hello, andylin!"); } // --></mce:script> <body> <form> <input type="button" name="btnClick" value="click me" οnclick="ClickBtn()"> </form> </body> </html>