QF: problem when repeating hierselect elements in a same form
| From: | Ignatius Reilly | Date: | Fri, 05 Mar 2004 11:01:27 +0000 |
| Subject: | QF: problem when repeating hierselect elements in a same form | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-11100@lists.php.net to get a copy of this message | ||
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