HTML_TreeMenu question....
| From: | Pablo Insa Aranda | Date: | Sun, 12 Nov 2006 17:47:01 +0000 |
| Subject: | HTML_TreeMenu question.... | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-25787@lists.php.net to get a copy of this message | ||
Hello, my name is Pablo.
I´m using your classes to create a treeMenu (I create nodes dynamically fetching data from a database), really nice. I got the tree without problems, but now I have a question: in the text of every node I have written an <input> tag to create a checkbox in every node of every level, ok??
Everything is ok but I wanted to create a javascript function called when someone double-clicked on a checkbox of a node, and this function would select all nodes in the child node. The problem is that I don´t know how to access these checkboxes, because it doesn´t recognise the objects with the form "document.formname.inputelement" (as if they were created with HTML code). Is there any way to do this?
I need some help with it, please. Oh, and, really, good job!
Thanks! Pablo.
_________________________________________________________________
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos