Hi, i use dhtmlxtree with leaves coming up as record from db with xml.
The leaf id and some other values pass with hidden html elements ,
post them with submit button , and get them to a query to db.query’s conclussion is in the same page .

now i want the leaf to be hyperlink to the same page (index.php) and change the db conclussion depnded on id.

i use event handler like this:


function test(id)
dhtmlAjax.postSync(“index.php”,encodeURI( document.getElementById(‘a’).value));

However, something is going wrong.
Please can anyone help me!
Gratefully k…

Probably it need to be a


last question?
must i insert
in xml file?


If you need define a link as item userdata, you could use this approach.