上代码
<td><input type="button" id="saveOeducational" value="添加学历信息" onclick="saveOeducational();"/>
发现 button 的id属性名 与onclick 触发的 js 函数名相同时,将不能识别js函数。。。。
本文探讨了HTML中按钮的ID属性与触发的JavaScript函数名相同导致的问题。当二者名称一致时,JavaScript函数可能无法被正确调用。
上代码
<td><input type="button" id="saveOeducational" value="添加学历信息" onclick="saveOeducational();"/>
发现 button 的id属性名 与onclick 触发的 js 函数名相同时,将不能识别js函数。。。。
3543
630

被折叠的 条评论
为什么被折叠?
