javascript function
how to use function?
Function
<html> <head> <script type="text/javascript" > function display(){ document.location.href="http://www.baidu.com" } </script> </head> <body> <input type="button" value="test" onmouseover="display()"> </body> </html>