Categories | Question details Back To List | ||
How can you submit dhtmlxtree in a form? Hi, I've got a great DHTMLXTree that I'm populating from a fairly large XML file (300K)... and it works GREAT... But I was hoping to be able to submit those results in a form to another page for processing - based on the boxes the user checks - or rearranges. I have no idea how the receiving page can read this data. Is it possible? Thanks, Russell Answer posted by Alex (support) on Mar 10, 2009 04:36 Hello, The checkboxes in tree are presented by images. So, they can't be submitted. What I can recommend.... There is getAllChecked method in tree. It returns the list of checked items ids. You can call this method and put the ids list to some hidden field: <form onsubmit="getChecked()" ... >... <script> function getChecked(){ hid_input.value = tree.getAllChecked(); } |