PHP Classes

AJAX Drop-down: Update the options of a select input using AJAX

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 66%Total: 14,056 This week: 1All time: 73 This week: 44Up
Version License PHP version Categories
ajaxdropdown 1.0GNU General Publi...3Databases, AJAX
Description 

Author

This package can be used to update the options of a drop-down select input when the selected value of another drop-down input changes.

It uses AJAX to retrieve the new set of drop-down options from a MySQL database on the server side.

Picture of Neeraj Thakur
Name: Neeraj Thakur <contact>
Classes: 5 packages by
Country: India India
Age: 45
All time rank: 103 in India India
Week rank: 49 Down7 in India India Down

Details

Class : AjaxDropdown AjaxDropdown class populates the data fetched from database into a sub category dropdown on change event of category dropdown. The configuration settings can be changed as per need of application. It makes use of XML as transitional language between server side language and client end script. The component is multibrowser, cross database, multi server side language. For Installaton .. 1. Run db.sql file on your local or remote database.. 2. Change the configuration settings for host, database name, username and password inside getagents.php file. 3. Run index.php file using php compatible web server. About myself: I am a PHP programmer working as Sr. Developer in Classic Informatics. Please rate this class If you find it useful. Please feel free to contact me for queries related to this class. I would feel gratefull if i can sort out your issues related to PHP. Thanks in advance. Neeraj Thakur Sr.. Developer Emails: neerajth@gmail.com neeraj_th@yahoo.com

Screenshots (1)  
  • screeshot.jpg
  Files folder image Files (8)  
File Role Description
Accessible without login Plain text file ajax.js Data AJAX Javascript File
Accessible without login Plain text file css.css Data Style used in component
Accessible without login Plain text file db.sql Data Database script
Plain text file getagents.php Class Class Source Code
Accessible without login Plain text file index.php Example Demonstration file
Accessible without login Plain text file Readme.txt Doc. Documentation
Accessible without login Image file snake_transparent.gif Icon Load Image

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:14,056
This week:1
All time:73
This week:44Up
User Ratings User Comments (5)
 All time
Utility:86%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:72%StarStarStarStar
Examples:77%StarStarStarStar
Tests:-
Videos:-
Overall:66%StarStarStarStar
Rank:522
 
ok tq very good
14 years ago (cayrol)
60%StarStarStarStar
very useful
16 years ago (x)
77%StarStarStarStar
Excelent work!
16 years ago (Murilo Klock Ferreira)
80%StarStarStarStarStar
Good Job.
16 years ago (Noman Farooqi)
75%StarStarStarStar
Really Good.
16 years ago (mukeshgct)
80%StarStarStarStarStar