<html> <head> <mce:script type="text/javascript"><!-- function aaa() { alert("oh no"); window.location="http://community.csdn.net/"; } // --></mce:script> </head> <body onload = aaa();> <body> </html>