|
|
Registered tutorials: 501 Registered Users: 33515
|
|
Rating: 0 out of 0 votes cast
Category: JavaScript Framework
|
Using Ajax with Prototype
Abstract: This tutorial shows how to install prototype.jsf and introduces the key prototype.js functionality
Installing Prototype As we're using the same application as in this article, you should install the software and create an Eclipse project as explained there. Now download the Prototype library and extract the tar file to a directory. Copy prototype.js from /dist directory to the Prototype project in Eclipse. The prototype.js file should be in the same directory as the inputForm.jsp file as shown in Figure 1.  p>We also need to modify the build.xml file to include prototype.js in the WAR file generated. The modified build.xml is available in the Resources zip file. Configuring Prototype in an Ajax Application We'll add Prototype library functions and classes to the Ajax application's inputForm.jsp. To access the prototype.js library, add the following element to inputForm.jsp;
|
Reviews:
Rate and Review This Site
No reviews yet
Statistic Information About this Resource:
| Total Hits: |
136 |
| Unique Hits: |
111 |
| |
Daily |
Weekly |
Monthly |
| |
Unique |
Total |
Unique |
Total |
Unique |
Total |
| Average |
0.1 |
0.1 |
0.3 |
0.3 |
1.7 |
1.9 |
| Current |
0 |
0 |
0 |
0 |
1 |
1 |
| Previous |
0 |
0 |
0 |
0 |
2 |
2 |
| Dec 6 |
0 |
0 |
1 |
1 |
3 |
4 |
| Dec 5 |
0 |
0 |
1 |
1 |
3 |
3 |
| Dec 4 |
0 |
0 |
1 |
1 |
1 |
1 |
| Dec 3 |
1 |
1 |
0 |
0 |
1 |
1 |
| Dec 2 |
0 |
0 |
0 |
0 |
2 |
2 |
| Dec 1 |
0 |
0 |
0 |
0 |
0 |
0 |
| Nov 30 |
0 |
0 |
0 |
0 |
3 |
4 |
| Nov 29 |
0 |
0 |
0 |
0 |
1 |
1 |
| Highest |
3 |
4 |
7 |
8 |
22 |
26 |
|
|
|
Script Execution Time: 0.17039 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2
|