AJAX - Javascript Function Library
AJAX : Overview | Reference | Quick Start | Examples | Download
Arrays : Overview | Reference | Download
Ajax : Examples : Populate Two Text Boxes
This example invokes two seperate Requests to Ajax_Random_Animal.aspx and inserts the result of each into two seperate text boxes. It uses the userObject functionality of the ajax framework to instruct the callback function which textbox to populate.
This script also inserts intermediate text into both text boxes which is shown whilst the call to the server is taking place.
View the source to see the javascript