1. 页面自动加载事件 <script> window.οnlοad=function(){...} </script> <script type="text/javascript"> function changeType(){....} changeType();</script>