document对象

来源:互联网 发布:印度人知乎 编辑:程序博客网 时间:2024/05/17 22:28
在JavaScript函数中为表单中的flag字段赋值方法:
document.forms[0].flag.value="shuru";
表单采用post提交方式。
原创粉丝点击