| SelectAjax (english) |
|
Selectajax is a very little component to ease creating combo-selects (or nested selects). I would appreciate if anyone wants to see it, suggest improvements and considerations about if it is useful. It is implemented with Ajax and MooTools.
JHTML::_('behavior.mootools');
$js='/components/com_selectajax/assets/combo.js'; $doc =& JFactory::getDocument(); $doc->addScript($js);
Use the examples included in SelectAjax: <h1>MUNICIPIOS</h1>
<select name="provincia" id="provincia" class="selectajax" bbdd="provimuni" level="1"> <option>Charge...</option> </select><br /> <select name="municipio" class="selectajax" bbdd="provimuni" level="2"> <option>Primero seleccione la provincia.</option> </select><br />
NOTE: if you want, send us an e-mail ( Esta dirección electrónica esta protegida contra spam bots. Necesita activar JavaScript para visualizarla ) including the items you wont in your combo. We'll give you a customized component SelecAjax. Nota: este componente se suministra sin ninguna garantía.
|