HTML_Quickform not working with two hierselects
| From: | Jose Manuel Zea Ginerÿffffffffffe9s | Date: | Wed, 07 Mar 2007 12:54:59 +0000 |
| Subject: | HTML_Quickform not working with two hierselects | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-26757@lists.php.net to get a copy of this message | ||
Hi:
I need two hierselects in my HTML_Quickform. One of them has 3 selects and the other two. If I just
set one, there´s no problem, but when I set the 2 hierselects, one of them works oks but with the
other I get a javascript error:
_hs_options is not defined
_hs_options['codtipocodsubtipo'] = [
But when I look in the source code _hs_options is defined and its values is:
_hs_options['codtipocodsubtipo'] = [
{ '0': '', '1': { '14': 'Diafano', '12':
'Piso', '15': 'Chalet' }, '6': { '20': 'En
área industrial' } }
];
_hs_defaults['codtipocodsubtipo'] = [0, []];
And if I just define the hierselect that is not working, this works alone perfectly.
Can anyone help me please?
Thanks in advanced.
Jose M. Zea
---------------------------------
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com