Basic usage of AntDropDownList

AntDropDownList, is a custom DropDownList jQuery plugin. The aim is to supply easly a drop down list without dupplicate ajax parameters.

Source Code

$(document).ready(function() {
	//Creation of master drop down list
	LoadAntDropDownList($("#masterList"), "../public/php/basic_list.php", true, 1);
	//Custruction of javascript object to manage master and slave relation
	var DDLs = new AntPairedDropDownList();
	//Set parameters
	DDLs.initPairedDropDownList($("#masterList"), $("#slaveList"), "../public/php/cities_list.php", true, 1);