function user_select(toid, toname) {
var a = "ab";
}
function user_select() {
var a = "dd";
}
<input title="添加1" onclick="user_select('a','b')"type="button" value="添 加1" name="button" />
<input title="添加2" onclick="user_select()"type="button" value="添 加2" name="button" />
为什么我点击添加1 执行不带参数的user_select()函数
而不执行带参数的user_select()函数呢??
|