<script>
function notice(var i)
{
if(i==2)
{window.alert("hello");}
}
</script>
...
<select onchange="notice(2)">为什么不会触发?
而参数去掉就可以了,为什么?望高手指教!!
function notice(i)
VAR 去掉