加速器通常不用于服务器端脚本。
单击确定返回true,执行服务器端脚本。
Clicking OK returns true, and the server-side script executes.
它是服务器端脚本,用来加载歌曲并将其返回给您。
This is the server side script that loads the song and returns it to you. Its code is shown in Listing 6.
以及下面的客户端脚本。
一个端到端脚本包场景。
在此样例应用程序中,您可以使用客户机端脚本确认文档的删除。
In this sample application, you can use a client-side script to confirm the removal of a document.
但对黑客而言,要查看服务器端脚本源码依然比较困难。
It will still be more difficult for the hacker to see the source of the server-side scripts.
在清单3中,客户端是一个运行客户端脚本的web浏览器。
In Listing 3 the client is a web browser running client-side scripting.
您可以为同样的事件既提供服务器端脚本又提供客户机端脚本。
You can provide both server-side and client-side scripts for the same event.
当需要在您的客户机端脚本内重写这些URL时,问题将少得多。
You will have a lot fewer issues when it is time to rewrite URLs within your client-side scripts.
也就是说,需要设置服务器端脚本或servlet来处理Ajax调用。
Namely, you need to set up the server-side script or servlet to handle the Ajax calls.
相反,您可以编写您的服务器端脚本来寻找表单中的一个额外字段。
Instead, you could write your server-side script to look for a extra field in the form.
顾名思义,它允许客户端脚本执行HTTP请求,并解析XML服务器响应。
As the name suggests, it allows a client-side script to perform HTTP requests, and it will parse an XML server response.
典型的承载堆栈包括Web服务器、服务器端脚本功能和数据存储。
A typical hosted stack includes a Web server, server-side scripting capability, and data storage.
但是如果不能改变服务器配置或者不能运行服务器端脚本怎么办呢?
But what if I don't have access to my server's configuration, or what if I can't run server-side scripts?
Gears插件弥补了这个缺陷,让客户端脚本环境也能够访问到这些API。
The Gears plugin Bridges that gap and makes it available within the client scripting environment.
这里将演示一个简单的案例分析,用于说明客户端脚本和服务器端脚本。
Here we present a simple case study that illustrates client-side and server-side scripting.
无论是否限制对脚本的访问,Web客户机应该不能调用服务器端脚本的任何函数。
Whether or not you restrict the access to your scripts, Web clients should not be able to invoke any function of a server-side script.
jaxer库为其创建一个代理以便它能被清单3所示的客户端脚本调用。
The Jaxer library creates a proxy for it so that it can be invoked by the client code in Listing 3.
如果一个事件同时具有客户端脚本和服务器端脚本,则首先执行客户端脚本。
If an event has both client - and server-side scripts, the client-side script executes first.
params字段本身就是一个对象,包含有将被传递给服务器端脚本的键/值对。
The params field is itself an object, consisting of key/value pairs that will be passed to the server-side script.
将秘密语置于我们简单的服务器端脚本中使得从服务器接收信息需要花费时间。
Posting the secret phrase to our simple server side script and then receiving the information back takes time.
数据从NWS服务器流动到我的服务器,服务器端脚本将xml转换为HTML。
Data flows from the NWS server into my server, where the server-side script converts XML to HTML.
在通常情况下,服务器端脚本或servlet连接到数据源,并生成以上格式的XML。
In a normal situation the server-side script or servlet connects to a data source and generates XML in the above format.
最后,添加ajax参数,以便服务器端脚本知道这是一个ajax请求(见清单15)。
Finally, you tag your ajax parameter so the server-side script will know that it's an ajax request (see Listing 15).
到目前为止,这个系列只涉及到客户机Web页面向服务器端脚本和程序发出请求的情况。
So far in this series, the focus was exclusively on situations in which your client Web pages make requests to your server-side scripts and programs.
通常,通过在客户端代码中嵌入服务器端脚本,可以将信息从服务器运行时传递到浏览器。
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.
实际上,可以用任何语言编写服务器端脚本,只要能够从Web服务器调用它并把结果返回给客户机。
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.
首先,Ajax应用程序通常都是为一个特定的服务器端脚本、servlet或应用程序而编写的。
First, Ajax applications are almost always written for a specific server-side script, servlet, or application.
首先,Ajax应用程序通常都是为一个特定的服务器端脚本、servlet或应用程序而编写的。
First, Ajax applications are almost always written for a specific server-side script, servlet, or application.
应用推荐