The solution is to use the event callbacks on the search box, as shown in Listing 5.
解决方法就是对搜索框使用事件回调,如清单5所示。
Initiate the Ajax request by using the Combo Box onchange event.
通过使用组合框onchange事件初始化ajax请求。
Suppose you specify a server-side onchange event for this input box with the following script and full or partial update in effect.
假定使用以下脚本来指定该输入框的服务器端onchange事件,并且正在进行全部或部分更新。
At runtime, the user changes the edit box on page1, which triggers the event.
在运行时,用户更改page1上的编辑框,这将触发事件。
In Listing 4, if valid is returned as false, an alert box will open, and the link will not be followed, as the event handler has returned a false value.
在清单4中,如果valid返回false,将打开一个警告框,链接不会被遵循,因为事件处理程序返回一个false值。
It will display an Event dialog box for the CheckBox.
将会显示CheckBox的Event对话框。
For example, instead of an onchange event for each edit box, use the onclick event of one button.
例如,与每一个编辑框具有一个onchange事件相反,使用一个按钮的onclick事件。
In this case, the StockController class is no longer needed because the event handling on the search box will be implemented solely at the client.
在这种情况下,stockcontroller类不再需要,因为事件处理搜索框只在客户端实现。
So we’ll complicate things just a touch and create a button on the page, for which we’ll write an event handler to pop up a message box saying "Hello world", instead.
为了演示这一面,我们来做一个稍稍复杂一点的例子 :在页面上创建一个按钮,然后用一个事件处理器来响应按钮事件并弹出一个消息框显示“Hello world”字样。
select() - Called when text is selected in a text field, and not when things are selected in a combo box (that's a change event)
select()-文本在文本字段内被选中时调用,而不是内容在组合框内被选中时(这时发生的是更改事件)调用。
Make sure both exception types are stopped, and then select the Call User Exit check box for both event and periodic exceptions, as shown in Figure 17.
确保两种异常类型都被停止,然后为事件和定期异常选择CallUserExit复选框,如图17所示。
The "coffee status" data event is handled by updating the text area with the "box" ID with the contents of the event.
“咖啡状态”数据事件是通过把文本区域更新为“box”ID及事件内容来处理的。
The Search Locations page demonstrates how to use the event handlers, as well as how to hook the update panel to two controls (a SELECT and an INPUT text box).
SearchLocations页面演示如何使用事件处理程序,以及如何将更新面板与两个控件挂在一起(一个SELECT和一个INPUT文本框)。
The candy box is from a small shop in Provence; the cigar mold and crystal lighter were leftover props from an event I worked on, which we kept on hand since John is an avid cigar enthusiast.
糖盒来自普罗旺斯的一家小店,雪茄模具(cigar mold)和水晶打火机都是我以前工作留下的道具,因为John是一位狂热的雪茄爱好者所以我们保留了这两样东西。
Known officially as "event data recorders" or EDRs, they work much like an airplane's black box in that they only capture data related to a crash.
车用“黑匣子”的学名为车辆事故数据记录仪(EDR),工作原理与飞机“黑匣子”非常相似,仅记录与交通事故有关的数据。
Event that allows you to perform a custom set of instructions every time the value of the text box changes between posts to the server.
事件,使您可以在每次文本框的值在向服务器的各次发送过程之间更改时执行自定义指令集。
Out of the box, Fiddler offers useful functionality, but it also has an event-based scripting subsystem allowing extensive customization, including a syntax-aware script editor.
Fiddler提供了强大的“开箱即用”的功能,此外它还提供一个基于事件脚本的子系统,包括能进行语法元素感知的脚本编辑器,来支持广泛的定制。
You can use the failed event Manager application that comes out-of-the-box when Process Server is installed to view, modify request data, and resubmit the failed events.
可以使用在安装WebSphereProcessServer时开箱即用的FailedEventManager应用程序查看、修改请求并重新提交失败事件。
At the Music Box we will hold our own storytelling event and showcase two new puppet shows that the teachers have been busy working on this last month.
在音乐盒我们将拥有自己的故事工作坊,并向大家表演教师们上个月一直忙着排练的两个新戏偶。
Now, as Apple heads toward its annual fall event, the successor to its superannuated set-top box is once again top of mind and at last headed to market — and for real this time.
现在,苹果公司正着力准备其一年一度的秋季活动。 新产品也将取代之前老旧的机顶盒,这一次这个机顶盒又成了焦点,并且最终要面市了——这次是真的。
The input event occurred in a message box or dialog box.
输入事件在消息框或者对话框中发生。
The event handler takes the contents of the text box and stores it in the hidden field on the Web page.
该事件处理程序获取文本框的内容,并将它存储在网页上的隐藏字段中。
When some event has transpired that was supposed to have transpired, never report this fact with a dialog box.
当有一些事件已经透露出应该透露的信息时,仍然不要用对话框报告这个信息。
The following example demonstrates how to implement the event handler of such a list box that serves as the comments pane.
下面的示例演示如何实现充当注释窗格的列表框的事件处理程序。
The international event can be justified here with the international face. But he never wanted to give me a box of gems to remember him with.
这个老板的出现多少体现了国际元素,先沾一上光再说吧,他可没打算送一盒宝石给我。
For land, sea and air transport industry, the risk characteristics of each catastrophic event, we have many experts examine the scene of the black box analysis of the entire incident.
面对海、陆、空交通运输高风险的行业特点,在每一次灾难性事件发生过后,我们有多少专家深入现场对黑匣子、事件始末进行过反复论证。
Curious about the event I had witnessed, I removed the tape from the top of the carton, and before I could be discovered, lifted the small white box up to the light.
因对自己所目击的一切感到好奇,我将纸箱上面的胶带撕开,在我可能被人发现之前,取出那个小白盒,来到亮处。
Send to box of each alert event that you selected, type one email address, or, type multiple email addresses separated by semicolons.
“发送到”框中,键入一个电子邮件地址,或键入多个电子邮件地址,地址之间用分号分隔。
If you add an event handler from the Properties window, you can add it only to the class that implements the dialog box.
如果从“属性”窗口添加事件处理程序,则只能将它添加到实现对话框的类。
You can also add an event handler for any dialog box control.
您也可以加入任何对话方块控制项的事件处理常式。
应用推荐