Scripting for both the client side and server side in one event is also accomplished by attaching both types of script.
通过附带两种脚本类型,也可以完成为一个事件中的客户端和服务器端编写脚本。
Even worse, if a user pays heed to the warning and stops the script, he or she will actually cancel your client-side program!
更糟糕的是,如果用户注意到这个警告并停止脚本,那么实际上就取消了您的客户端程序!
As you can see, the script created some nicely formatted XML, ready for a new piece of client-side code to consume.
如您所见,该脚本创建了一些良好格式化的XML,准备好供新的客户端代码使用。
And the following client-side script.
以及下面的客户端脚本。
The next step in the process is to create a simple PHP application to enter some data at the client side and read it at the server side using a PHP script.
这个过程中的下一步是创建一个简单的PHP应用程序,它允许用户在客户端输入一些数据,然后在服务器端用php脚本读取它。
In this sample application, you can use a client-side script to confirm the removal of a document.
在此样例应用程序中,您可以使用客户机端脚本确认文档的删除。
If an event has both client - and server-side scripts, the client-side script executes first.
如果一个事件同时具有客户端脚本和服务器端脚本,则首先执行客户端脚本。
As the name suggests, it allows a client-side script to perform HTTP requests, and it will parse an XML server response.
顾名思义,它允许客户端脚本执行HTTP请求,并解析XML服务器响应。
If you change the way you organize metadata and messages (such as the server-side classes or variables), you end up changing client script validation functions that use them.
如果更改了元数据和消息(例如服务器端类或变量)的组织方法,您将会为更改使用这些元数据和消息的客户机脚本验证函数感到十分头痛。
So far, we have covered how the JWL hxclient script helps you handle date and number parsing and formatting on the client side.
到目前为止,我们已经介绍了jwlhxclient脚本是怎样帮助您处理客户端的数字分析和格式问题。
In fact, you can actually write the server-side script in any language that can be called from your Web server and return its result to the client.
实际上,可以用任何语言编写服务器端脚本,只要能够从Web服务器调用它并把结果返回给客户机。
I've demultiplexed these into separate productions in the JJTree script in Listing 4, since this makes the code on the client side more straightforward.
在清单4中,我已经将这些运算符分离到JJTree脚本中的单独结果中,因为这让客户机端的代码更简单。
For a quick start, let's jump to what the client-side script will be like.
为了快点开始,让我们来看客户端的脚步是什么样的?
In general, you can pass information from the server runtime to the browser by embedding a server-side script in the client-side code. The following is a client-side onclick event for a button.
通常,通过在客户端代码中嵌入服务器端脚本,可以将信息从服务器运行时传递到浏览器。
NOTE: Before diving into the details of the client-side ECMAScript that is used, a disclaimer about how the script determines which browser is used.
注意:深入分析这段客户端ecmascript之前,首先说明它如何确定使用的浏览器。
If you want to perform validation on the server but not on the client, you can set an individual validation control to not emit client-side script.
如果要执行服务器上的验证,不执行客户机上的验证,您可以将单独验证控件设置为不生成客户端脚本。
Whenever a script is intended to run in a browser (client-side), experienced developers include code that detects the version of the script engine.
每当想要在浏览器(客户端)中运行一个脚本时,有经验的开发人员就会在代码中包括检测脚本引擎版本的代码。
The script Explorer window was often hidden, so that the availability of client-side script was not always obvious.
“脚本资源管理器”窗口通常是隐藏的,因此客户端脚本的可用性并非总是显而易见。
The script Explorer window was often hidden, so that the availability of client-side script was not always obvious.
“脚本资源管理器”窗口通常是隐藏的,因此客户端脚本的可用性并非总是显而易见。
应用推荐