PHP Classes
elePHPant
Icontem

AJAXed list boxes: Generate AJAXed linked select inputs

Recommend this page to a friend!
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2009-04-22 (8 years ago) RSS 2.0 feedStarStarStar 42%Total: 3,581 All time: 920 This week: 679Up
Version License PHP version Categories
lsb 0.5GNU General Publi...4.1.0HTML, AJAX
Description Author

This package can be used to generate Web form with linked select inputs.
It generates select inputs that switch their group of options dynamically when the linked select input value is changed.
The class uses AJAX to retrieve the new group of options from the server, so it can retrieve the option values from a database on the server side.
It can link an unlimited number of select inputs.

In the same file sc_classes.php there is an other class. Called sc_form_elements. Used partialy from sc_ajax_select_boxes. It is a nice form helper class. Adds select boxes, radio groups and check box groups. It is usual to have options on db and have to populate with them select boxes, or show a list of radio buttons or a list of checkboxes. The routine is to query the database and loop throu the selected rows and add elements to the form. sc_form_elements class comes to save time rewriting that peace of code again and again, but still have control over the form.

  Performance   Level  
Name: Panos Kyriakakis <contact>
Classes: 2 packages by
Country: Greece Greece

  Files folder image Files  
File Role Description
Accessible without login Plain text file db_sample_data.sql Data Example data file
Accessible without login Plain text file example.php Example Example file
Accessible without login Plain text file example_2.php Example Example for new extra where feature
Accessible without login Plain text file example_5.php Example Use last select box's onChange event to get values for further use
Accessible without login Plain text file example_7.php Example Radio buttons example
Accessible without login Plain text file lsd_demo_2_sample_data.sql Data Sample data for example 2
Plain text file sc_classes.php Class Main class file
Accessible without login Plain text file sc_select_ajax_handler.php Appl. Ajax handling functions
Accessible without login Plain text file top_script.php Aux. Example file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,581
This week:0
All time:920
This week:679Up
User Ratings User Comments (1)
 All time
Utility:62%StarStarStarStar
Consistency:59%StarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:42%StarStarStar
Rank:2838
 
use some deprecated methods of both javaScript and PHP.
5 months ago (zinsou A.A.E.Moïse)
47%StarStarStar