尝试更改隐藏字段值时出现两个错误: 1. Javascript: Error undefined TypeError: 'undefined' is not an object
- Javascript:错误未定义:“null”不是对象
有什么线索吗?
<input type="hidden" name="submit" value=""/>
<input type="Button" name="button" value="Add draft" onclick="this.form['submit'].value=this.value;">