Ajax - middle-middle ware

Javascript and PHP are in the middle between HTML and MySQL.

Example 1

Show how the DOM name of a field is passed to Javascript



Example 2

Show how two DOM names are passed to a JS function



Example 3

Javascript sends a query to PHP using GetXmlHttpObject()

Get Runners

Example 4

Send a query to UVa's LDAP server

Get LDAP Entry

Example 5

Send data from JS to PHP that updates a MySQL database

Update a Table

Example 6 - Password Protected for now

Add data to a table in a MySQL database

Add data to a Table

Reference Book


JavaScript: The Definitive Guide (Rhino Book)
By: David Flanagan
Publisher: O'Reilly Media, Inc.
Pub. Date: May 3, 2011

List of HTML Events

Trigger a JS call