得到表单(IHTMLFormElement)后,接下来的事情就简单了,逐个提取表单中的元素(也叫表单域 IHTMLInputElement)就可以读写这些域的属性了。
基于16个网页-相关网页
如果一切都正确完成,您应当能够填充表单并且得到图2中所示的内容。
If you've done everything correctly, you should be able to fill out the form and get something like Figure 2.
图5显示了得到的表单设计。
如果提交此表单,就会得到一个错误,因为我们尚未创建一个函数来接收此表单的发布。
If you submit the form, you'll get an error because you haven't created a function to receive the form's post.
Let me disclaim, too, we're by no means perfect so the Harvard courses APP that a lot of you used on the web to shop for courses, we recently sent out a form to get feedback from everyone because we don't doubt that it was imperfect the first time around, but we're going to iterate and make amends with that.
我不是说,我不是说要完美,你们大部分使用哈佛大学课程APP来在网上选课,我们最近给你们发了一个表单,从你们那里,得到反馈,因为我不怀疑,第一次时它是有瑕疵的,但是我们将反复地道歉。
应用推荐