func()先运行$('btn').onclick = func1;
$('btn').attachEvent("onclick",func);