Re: problem when repeating hierselect elements in a same form

From: Date: Fri, 05 Mar 2004 11:43:03 +0000
Subject: Re: problem when repeating hierselect elements in a same form
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11102@lists.php.net to get a copy of this message
Oops. sorry for the bandwidth pollution. I had inadvertently given identical names to two of the three hierselect elements. Jolly silly. Escaped me for a while... Cheers _________________________ "Ignatius Reilly" <ignatius.reilly@free.fr> wrote in message news:20040305105958.3125.qmail@pb1.pair.com... > Hello, > > I want to repeat 3 times an identical hierselect in a form. > > Then the javascript breaks down on IE6. Probably because the same function > swapOptions is defined three times in the document and always the first > instance gets called (it all works normally when I include only 1 > hierselect). > Anybody knows how to get around this? > > Thanks > Ignatius

« previous php.pear.general (#11102) next »