此函数的另一个作用是根据其他表单字段值填充任何隐藏的INPUT元素。
Another use of this function is to populate any hidden INPUT elements based on other form field values.
在该例中,每个列的值都在由用户输入的文本表单字段中。
In this case, each column value was entered by the user into a text form field.
操作表单字段和值、处理数字签名以及处理二进制附件仅仅是这些API所提供一些附加功能。
Manipulating form fields and values, working with digital signatures, and handling binary attachments are just some of the added functions provided by the APIs.
将表单字段设置为在返回的JSON对象内指定的值。
Set the form field to the value specified in the return JSON object.
清单2中展示的代码片段使用实例值加载表单字段。
The code snippet shown in listing 2 loads the form fields with instance values.
然而,这种解决方案有些简陋,很像使用隐藏的表单字段在请求之间传递值。
This solution is rather crude, however, closely resembling the use of hidden form fields to pass along values between requests.
在本文中,我展示了如何构建一个自动填充控件来基于在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.
接下来,从结果集行中取值,设置输入表单字段中的值。
Next, fetch values from the result set row and set the values in the input form fields.
它们仅限于简单字符串值。
从JSON对象获得目标表单字段值。
在这篇文章中,我介绍了如何构建级联式下拉控件,根据其他表单字段值动态填充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.
类似地,清单6设置XFDL表单字段的值。
用ascii字符编写的文档解析起来是最快的,因为每个字符都肯定是单字节的,可以直接映射到对应的unicode值。
Documents written using ASCII characters are the fastest to parse because each character is guaranteed to be a single byte and map directly to its equivalent Unicode value.
将这个整数造型为一个单字节时,只有最低有效位字节(0x00到 0x7f)会作为十六进制值拷贝到单字节数组。
When you cast the integer into a single byte, only the least significant byte (0x00 to 0x7f) will be copied as a hex value to the single-byte array.
输入字段调用包装器函数xajax_validatecatalogid,调用时以表单字段值数组作为参数。
The input field invokes the wrapper function xajax_validateCatalogId with an array of form field values as a parameter.
在updatecatalog函数中,获取表单字段值,并创建一条sql语句,以便将一行添加到数据库表Catalog中。
In the updateCatalog function, retrieve the form field values and create an SQL statement to add a row to database table Catalog.
验证参数的值可以使用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.
通过使用 getFormValues()方法,可以将表单字段值数组作为参数提交给一个xajax 异步包装器函数。
Using the getFormValues() method, an array of form field values may be submitted as an argument to an xajax asynchronous wrapper function.
refocusinvalid—输入无效值时,重新聚焦此目标表单字段。
Refocusinvalid - refocus the target form field when an invalid value is entered.
clearinvalid—输入无效值时,清空此目标表单字段。
Clearinvalid - clear the target form field when an invalid value is entered.
值可依赖于其他表单字段或Servlet内定义的其他复杂业务规则。
The values can be dependent on other form fields or other complex business rules that are defined in the Servlet.
注意定义文件中type属性的值:元素映射到一个数组,嵌套的映射为简单字符串值。
Notice the values of the type attribute in this definition file: the element is mapped to an array, while the nested s are mapped to simple string values.
应该可以看到第二个选项卡重新激活(表单字段内之前输入的值均完整无缺)而第三和第四个选项卡则是禁用的。
You should see the second tab reactivate (with any previously entered values in the form fields intact) while the third and fourth tabs become disabled.
应该可以看到第二个选项卡重新激活(表单字段内之前输入的值均完整无缺)而第三和第四个选项卡则是禁用的。
You should see the second tab reactivate (with any previously entered values in the form fields intact) while the third and fourth tabs become disabled.
应用推荐