在这个HTML表单的结尾,有一些隐藏元素。
At the end of the HTML form, you will notice some hidden elements.
此函数的另一个作用是根据其他表单字段值填充任何隐藏的INPUT元素。
Another use of this function is to populate any hidden INPUT elements based on other form field values.
然后,使用一组链接的方法返回隐藏的表单元素。
Then, it uses a set of chained methods to return the hidden form elements.
DOM管理:Prototype支持更轻松地连接页面元素,尤其对于表单,并提供了执行显示或隐藏元素等任务的简便方法。
DOM management: Prototype includes easier hooks for page elements, particularly when it comes to forms, and convenience methods for tasks such as showing or hiding elements.
类似地,不可编辑的表单只有在所提交表单数据中包含了名为demo_checkbox的post参数时才会包含这个隐藏表单元素。
Similarly, the non-editable version of the form contains the hidden form element only if the submitted form data contains the post parameter named demo_checkbox.
您可以将表单元素一个摞一个的堆叠起来,下面的元素可以很好地隐藏掉(deck标签可以实现,这很类似于hypercard栈)。
You can stack form elements atop each other and the ones beneath are properly hidden (the deck tag does that, much like a hypercard stack).
您可以将表单元素一个摞一个的堆叠起来,下面的元素可以很好地隐藏掉(deck标签可以实现,这很类似于hypercard栈)。
You can stack form elements atop each other and the ones beneath are properly hidden (the deck tag does that, much like a hypercard stack).
应用推荐