chainedSelectors: A Better Way to Drop-down a PHP List

Visit Publisher Site

Intended for programmers interested in experimenting with complex user interface elements, this tutorial explores using PHP to generate JavaScript based on data in a database. This tutorial explains a class called chainedSelectors. This class helps you create a SELECT form field that automatically updates the value of another SELECT using JavaScript. PHP is used to retrieve the values for the selectors from a MySQL database. This data is then used to create a JavaScript function that's triggered when the value of the first selector is changed.

Visit publisher site: chainedSelectors: A Better Way to Drop-down a PHP List

Listing Details

Filed in:
Scripts / PHP / Tutorials & Tips / Form Processing
Submitted on:
 
Last Updated:
Feb 26, 2001 
Publisher:
Other listings by this publisher

License & Pricing Information

User Reviews 

Be the first to review this listing!
Average Member Rating: 4.00/5