创建动态表单,提交数据无需页面刷新。
Creating live forms that submit data without a page refresh.
支持包含动态记录的动态表单需要复杂的代码和逻辑。
Supporting dynamic forms with dynamic sets of records requires complicated code and logic.
本节展示一个基于Ajax和DHTML的动态表单。
This section presents a dynamic form based on Ajax and DHTML.
例如,假设您不得不呈现一个动态表单,并隐藏基于用户权限的输入字段。
For example, suppose you have to render a dynamic form and hide input fields based on user permissions.
当攻击者向用户提交的动态表单引入恶意脚本时,就会产生跨站点脚本(XSS)攻击。
When an attacker introduces a malicious script to a dynamic form submitted by the user, a cross-site scripting (XSS) attack then occurs.
在本例中,我们使用动态表单,为正在找工作的英雄们创建一个在线申请表。
In our example we use a dynamic form to build an online application experience for heroes seeking employment.
现在我们已经有一个定义好的完整模型了,接着就可以开始创建一个展现动态表单的组件。
Now that we have defined the complete model we are ready to create components to represent the dynamic form.
我们可以在将它们全部作为表单数据传送的每个页面上动态保存数据,但当用户顺原路退回或到其它的站点后又回来时会引发问题。
One could save that data dynamically on each page and pass it all as form data, but that poses problems when users backtrack or go to other sites then come back again.
现代的网站是高度交互的:动态的导航菜单、图像切换、表单,甚至还支持拖拉操作。
Modern Web sites are highly interactive: Dynamic navigation menus, image rollovers, forms, and even drag and drop are available.
在本文中,您已经检查了IBMDB 2通用数据库的元数据,以便动态构建视图和表单。
In this article, you've examined IBM DB2 Universal Database metadata in order to dynamically build views and forms.
在本文中,我展示了如何构建一个自动填充控件来基于在HTMLINPUT字段内所输入的值动态填充表单字段。
Within the article, I show how to build an auto-populate control that dynamically populates form fields based on the value entered in an HTML INPUT field.
动态页面旁边显示的小“X”允许代理人员关闭他不再需要的实例,而无需提交表单。
The little "X" displayed beside a dynamic pages lets the agent close instances he no longer needs, without submitting a form.
它既支持静态PD F文件,又支持动态xfa表单。
有一点非常好的是,在这个软件中能够穿件真实的控件,例如按钮、表单、图形和动态元素等。
One of the good thing with Axure is that it has ready-made widgets including buttons, form fields, shapes and dynamic elements etc.
PDF表单可以是静态的,也可以是动态的。
如果表单极为动态,则应使用相对定位。
Use relative positioning if your form is going to be quite dynamic.
读取用于动态生成小部件的表单信息并创建预期的用户界面。
Read the form definition that is used to dynamically create widgets in order to create the expected user interface.
在这篇文章中,我介绍了如何构建级联式下拉控件,根据其他表单字段值动态填充htmlSELECT控件中的值。
Within the article, I show how to build a cascading drop-down control that dynamically populates values in an HTML SELECT control based on other form field values.
可以自动检查一个用户名或电子邮件地址是否已经不再使用,验证表单而无需刷新页面,甚至提交表单并动态显示一个结果。
You could automatically check that a user name or email address is not already in use, validate the form without refreshing the page, or even submit the form and display a result dynamically.
动态地创建各个列表并把它们添加在左边,实际的表单放在右边。
The various lists will be dynamically created and added on the left side, and the actual forms on the right side.
动态构建复杂表单。
为了对每个表单输入字段动态创建事件,首先需要对所有表单输入字段的HTML解析,如清单10所示。
To create the events dynamically for each of the form input fields, you first need to parse the supplied HTML for all form input fields, as shown in Listing 10.
FormEditor小部件(图3)让您能够创建可无缝地与这些过程集成的表单以便动态的富表单交互可被添加到该工作流。
The Form Editor widget (Figure 3) enables you to create forms that can seamlessly integrate with the processes so that rich, dynamic form interactions can be added to the workflow.
XUL也不是靠动态html来模仿的表单;它的菜单系统可以超出if rame的区域,覆盖到HTML的周围,甚至可以像一个一般的弹出菜单那样蔓延到桌面上。
XUL is not some faked-up form of Dynamic HTML either; the menu system can overlay surrounding HTML that's outside the iframe area and it can flood over onto the desktop like a normal popup menu.
本文还介绍了其他一些方便的特性,比如带命名变量的动态urls和表单绑定。
The article also covered some of the other convenient features, such as dynamic URLs with named variables and form binding.
Aston提到,TCPProxy可以使用Python录制测试脚本,还能识别url参数和表单中的动态变量。
Aston mentioned that TCPProxy can record test scripts in Python and identify dynamic variables in URL parameters and forms.
验证参数的值可以使用value属性规定为静态的,也可以通过使用sourcefield 属性将其链接到表单字段,将值规定为动态的。
The validation arguments' values can either be static using the value attribute or dynamic by linking it to a form field using the sourcefield attribute.
例如createitem函数,会被每个表单定义字段调用,能动态生成和链接小部件。
An example is the createItem function, which is invoked for every form definition field and dynamically creates and links the widgets.
最后,只要代理人员提交表单,就立即关闭动态页面。
Finally, we close the dynamic page as soon as the agent submits the form.
提交表单后,立即关闭动态页面实例的功能。
Capability to close the dynamic page instance as soon as the form is submitted.
应用推荐