And the following client-side script.
以及下面的客户端脚本。
Server-side script files are always visible.
伺服器端指令码档一律可见。
Clicking OK returns true, and the server-side script executes.
单击确定返回true,执行服务器端脚本。
For a quick start, let's jump to what the client-side script will be like.
为了快点开始,让我们来看客户端的脚步是什么样的?
Namely, you need to set up the server-side script or servlet to handle the Ajax calls.
也就是说,需要设置服务器端脚本或servlet来处理Ajax调用。
Instead, you could write your server-side script to look for a extra field in the form.
相反,您可以编写您的服务器端脚本来寻找表单中的一个额外字段。
If an event has both client - and server-side scripts, the client-side script executes first.
如果一个事件同时具有客户端脚本和服务器端脚本,则首先执行客户端脚本。
Data flows from the NWS server into my server, where the server-side script converts XML to HTML.
数据从NWS服务器流动到我的服务器,服务器端脚本将xml转换为HTML。
That's all good, but in order for there to be new data, the server-side script has to go get it.
这一切都很好,但为了得到新的数据,服务器端脚本去得到它。
In this sample application, you can use a client-side script to confirm the removal of a document.
在此样例应用程序中,您可以使用客户机端脚本确认文档的删除。
This is the server side script that loads the song and returns it to you. Its code is shown in Listing 6.
它是服务器端脚本,用来加载歌曲并将其返回给您。
The fourth parameter should be the URL of the server-side script/servlet that will handle the Ajax calls.
第四个参数应该为负责处理Ajax 调用的服务器端script/servlet的URL。
Posting the secret phrase to our simple server side script and then receiving the information back takes time.
将秘密语置于我们简单的服务器端脚本中使得从服务器接收信息需要花费时间。
The notation #{id:inputText1} is a server-side script that executes before the page is sent to the browser.
符号 #{id:inputText1}是服务器端脚本,在将页面发送到浏览器之前执行该脚本。
First, Ajax applications are almost always written for a specific server-side script, servlet, or application.
首先,Ajax应用程序通常都是为一个特定的服务器端脚本、servlet或应用程序而编写的。
The params field is itself an object, consisting of key/value pairs that will be passed to the server-side script.
params字段本身就是一个对象,包含有将被传递给服务器端脚本的键/值对。
Finally, you tag your ajax parameter so the server-side script will know that it's an ajax request (see Listing 15).
最后,添加ajax参数,以便服务器端脚本知道这是一个ajax请求(见清单15)。
The script Explorer window was often hidden, so that the availability of client-side script was not always obvious.
“脚本资源管理器”窗口通常是隐藏的,因此客户端脚本的可用性并非总是显而易见。
As the name suggests, it allows a client-side script to perform HTTP requests, and it will parse an XML server response.
顾名思义,它允许客户端脚本执行HTTP请求,并解析XML服务器响应。
In a normal situation the server-side script or servlet connects to a data source and generates XML in the above format.
在通常情况下,服务器端脚本或servlet连接到数据源,并生成以上格式的XML。
An Execute script simple action runs a server-side script, which is specified in the Edit simple action dialog box (see figure 10).
ExecuteScript简单操作将运行服务器端脚本,在EditSimpleAction对话框中对此进行了指定(参见图10)。
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.
无论是否限制对脚本的访问,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.
实际上,可以用任何语言编写服务器端脚本,只要能够从Web服务器调用它并把结果返回给客户机。
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.
如果要执行服务器上的验证,不执行客户机上的验证,您可以将单独验证控件设置为不生成客户端脚本。
You can easily manipulate it and get it to the server because it doesn't require any special encoding, and every server-side script in the world can handle text data.
由于不需要特殊编码而且每个服务器端脚本都能处理文本数据,所以可以轻松利用 JSON 并将其应用到服务器。
Again, you'll use the concept of passing an ajax flag to the server-side script to let it know whether it is being called by a regular GET request or by an ajax call.
同样,您将使用将一个ajax标记传递到服务器端脚本的概念,让它知道它正在被一个常规GET请求调用还是被一个ajax调用调用。
The results.php server-side script would produce a page like the one in Listing 14 for page 1, and clicking the links would bring you to the second page or the last page.
php服务器端脚本将生成一个类似于清单14中的page1的页面,单击其中的链接可导航到第二页或者最后一页。
An Ajax request is an asynchronous HTTP request that is usually made to a server-side script, which returns a response in a format such as XML, JSON, HTML, or plain text.
Ajax请求是一个异步http请求,通常发送给服务器端脚本,后者返回XML、JSON、HTML或普通文本格式的响应。
An Ajax request is an asynchronous HTTP request that is usually made to a server-side script, which returns a response in a format such as XML, JSON, HTML, or plain text.
Ajax请求是一个异步http请求,通常发送给服务器端脚本,后者返回XML、JSON、HTML或普通文本格式的响应。
应用推荐