Login   Register  
PHP Classes

Cascade Drop Down: Generate form select inputs with dependent options

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Gobinath Mallaiyan
Name: Gobinath Mallaiyan <contact>
Classes: 11 packages by
Country: United States United States
Age: 33
All time rank: 424 in United States United States
Week rank: 302 Down32 in United States United States Down

  Detailed description   Download Download .zip .tar.gz  
Purpose: Generate two dependent HTML form select inputs

The Basic requirement for me to write a class of this kind is to avoid the page reloading time, when the currently selected value on the first dropdown determine the option values that are made available on the second dropdown.

When the page needs to be reloaded it is not pleasant for the users to wait until the page reload is complete, especially when their Internet to the server is slow.

So what this class does is to generate Javascript code dynamically by fetching the select input option values from a database table and switch them when the user changes the parent select input.

The class has two basic functions where one is responsible for querying the database and other is responsible for generating the Javascript code.

There is also a function which is responsible for generating the HTML code for the select input.

  Classes of Gobinath Mallaiyan  >  Cascade Drop Down  >  Download Download .zip .tar.gz  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Cascade Drop Down
Base name: jsdd
Description: Generate form select inputs with dependent options
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 3721 users
All time rank: 816
Week users: 0 users
Week rank: 1459 Equal
  Groups   Rate classes User ratings   Trackback  
  Applications   Related pages   Files Files  

Group folder image HTML HTML generation and processing View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (90%) Good (85%) Sufficient (70%) Good (80%) - - Sufficient (68%) 285
Month: Not yet rated by the users

  Pages that reference this package  
söyle birsey isini görebilir mi?Kullanmadim ama kullanici degerlendirmeleri baya yüksek...
Class: Cascade Dropdown 3 Levels
The Class can be used to Fetch the record from the database and load it in 3 different list boxes, where are the Values of the child will be depended to the Parent...

Latest pages that reference packages Latest pages that reference packages

  Applications that use this package  
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related pages  
Cascade Drop Down
Blog Post

  Files folder image Files  
File Role Description
Files folder imagedata (1 file)
Files folder imagedocs (1 file)
Files folder imageenhanced (2 files)
Plain text file JSDropDown.class.php Class Source Class
Accessible without login Plain text file JSDropDown.php Example Script Which Uses the Class

  Files folder image Files  /  data  
File Role Description
  Accessible without login Plain text file JSDropDown.sql Data Data Structure

  Files folder image Files  /  docs  
File Role Description
  Accessible without login HTML file Manual.htm Doc. Referance Manual

  Files folder image Files  /  enhanced  
File Role Description
  Plain text file JSDropDown5.class.php Class Class is Compatible with PHP 5
  Plain text file JSSelect.class.php Class File to Use this class for Dynamic Select Box Creation

Download Download all files: jsdd.tar.gz jsdd.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.