If the application had forms, you could set a breakpoint at the form handler and view the incoming parameters.
如果应用程序包含表单,那么可以在表单处理函数上设置断点并查看输入的参数。
You then pass these methods (in the form of a handler) to the parser, along with a document to be parsed.
然后您将这些方法(以处理程序的形式)以及要解析的文档一起传递给解析器。
We must develop a mediation handler to transform the message from one form to another.
我们必须使用中介处理程序来将消息从一种形式转换成另一种形式。
XML Binding Language (XBL) allows you to define behaviors, possibly in the form of handler scripts, related to XML elements.
XML 文档绑定语言(XML Binding Language,XBL)使您能够定义与 XML 元素相关的行为,这类行为通常采用处理程序脚本的形式。
This opens the code page for the form, and it creates Form1_Load event handler method.
这将打开表单的代码页面,并创建Form 1_load事件处理器方法。
Fixing that particular problem lies in defining an event handler for the button's "onClick" event, again just like what a developer would write for an HTML form.
修正这个问题,只要给按钮的“onClick ”事件定义一个事件处理器就可以了,跟编写HTML表单是一样的。
For the purpose of our mediation, we will return information from the session object in string form so it can be written to the logs. Enter the following method into the mediation handler class.
为了我们中介的目的,我们将从会话对象使用字符串形式来返回信息,以方便日志的写入。
In its most ancient form an event handler looks like this.
在最古老的表单的事件处理程序看起来是这样的。
Some of these components may be chained together to form a parsing pipeline, where each component communicates information to the next component using XNI's document handler interfaces.
其中一些组件可能串接在一起,形成解析管道,每个组件都使用XNI文档处理程序接口与下一个组件通信。
This is an example of immediate event handling, since the whole form is not validated before the event handler is invoked.
这是一个即时事件处理的例子,因为整个表单没有在调用事件处理程序之前进行有效性验证。
Many gateway technologies support some form of intermediary filter or handler programming model to enable custom enhancements to function.
许多网关技术支持某些形式的中间件过滤器或处理器程序设计模型,以实现自定义增强功能。
Finally, I added a submit event handler to the form.
最后,我在表单中添加了一个提交事件处理程序。
They are SOAP handlers in that message content is represented to the handler as SOAP content in the form of a SAAJ object (see the Resources section for more on these objects).
它们也是SOAP处理程序,因为消息内容以SAAJ对象的形式作为SOAP内容提供给处理程序。请参见参考资料部分以获得关于这些对象的更多信息。
In Listing 13, you add an event handler to the submit event of the form.
在清单13中,您向表单的submit事件添加了一个事件处理程序。
Listing 2 shows how to submit a form using the click handler.
清单2展示如何使用click处理函数提交表单。
Listing 1 shows how to submit a form using the submit handler.
清单1显示了如何使用submit处理函数提交一个表单。
The xajax object creates wrapper functions for the PHP functions that may be invoked from a PHP script or an input form event handler.
xajax对象为可能从php脚本或输入表单事件处理程序中调用的php函数创建包装器函数。
Instead of parsing an existing file, change the handler to parse text input from a form in the servlet.
我们将这个处理程序更改为解析来自这个servlet中的一个表单的文本输入,而不是解析一个现有文件。
This handler prevents the default event (submitting the form) from being fired, sets the value of the extra ajax argument to 1, and makes an ajax Request using the original form for the URL and data.
这个处理程序阻止默认事件(提交表单)触发,将额外的ajax参数的值设置为1,使用原始表单发出一个ajax请求以获取URL和数据。
This time, you need to add a form submit handler to checkout1-fragment.html, the file that contains the personal information form.
这次,需要向checkout 1- fragment . html添加一个表单提交处理程序,该文件含有个人信息表单。
This fragment, therefore, needs a click handler to reload the current TAB with the discount form from checkout4b-fragment.html. The results look like Listing 11.
因此,此片段需要一个click处理程序来用checkout 4b -fragment .html的折扣表单重新加载当前的选项卡。
You can use the oncleared event handler to clear any other form fields or reset the form.
您可以使用oncleared事件处理程序清除任何其他表单字段或重置表单。
Using a submit handler on the form wouldn't work in this scenario because it would not be possible to determine which button triggered the form submission.
使用表单上的submit处理函数在这种场景中不能运行,因为它不能确定哪个按钮触发表单提交。
You can use the onloaded event handler to process other form fields based on the server response.
您可以使用onloaded事件处理程序根据服务器响应处理其他表单字段。
There are two ways to trigger a form submission using jQuery: using the submit handler or the click handler.
使用jQuery触发一个表单提交有两种方法:使用submit处理函数或click处理函数。
The submit handler needs to be assigned to a form element, while the click handler can be assigned to any element that can be clicked-in this case, the submit button.
submit处理函数需要分配一个表单元素,而click处理函数,任何可点击的元素即可—本例中是submit按钮。
Listing 3 shows a scenario in which using the click handler is necessary, because two Submit buttons can trigger the form submission.
清单3展示了这样一个必须使用click处理函数的场景,因为两个Submit按钮都能触发表单提交。
The handler stops form submission and uses Ajax instead through the dojo.xhrPost function.
事件处理函数停止表单提交,并使用在dojo.xhrPost 函数中使用Ajax。
When a user presses the submit button, the code placed in the onsubmit handler is executed before the form is submitted to the server.
当用户按下submit按钮时,在向服务器提交表单之前将执行onsubmit处理程序中的代码。
When a user presses the submit button, the code placed in the onsubmit handler is executed before the form is submitted to the server.
当用户按下submit按钮时,在向服务器提交表单之前将执行onsubmit处理程序中的代码。
应用推荐