[ Index ] |
|
Code source de b2evolution 2.1.0-beta |
[Code source] [Imprimer] [Statistiques]
Dynamic select list options Exemple:
Author: | fplanque: Francois PLANQUE. |
Author: | mbruneau: Marc BRUNEAU / PROGIDISTRI |
Copyright: | (c)2003-2006 by Francois PLANQUE - {@link http://fplanque.net/} |
Poids: | 121 lignes (5 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
init_dynamicSelect() X-Ref |
Called by window.onload event Initialize all parent_child selects lists of the form |
dynamicSelect( id1, id2 ) X-Ref |
Initialize select lists You need to use it to handle parent_child select lists This will clone all select options in order to reuse a filtered subset later, depending on the parent selection. This will also add the onchange handler on the parent param: parent select list param: child select list |
refreshDynamicSelectOptions( sel1, sel2, clonedOptions ) X-Ref |
Refresh the child select list when the parent changes. param: parent select list param: child select list param: clone of the child select list initialized |
Généré le : Thu Nov 29 23:58:50 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |