Although I haven't tried it yet, I've been meaning to give WDDX.pm a spin.
WDDX stands for Web Distributed Data Exchange. It allows you to pass complex data between Perl and JavaScript (and other systems too). WDDX.pm can act as the javascript equivalent of Data::Dumper. It can print out JavaScript code that creates and initializes your variables when it is executed. You should be able to find loads of info on their website. There is also a nice little article at webmonkey.
Your project sound like what I've been meaning to get it together and use WDDX for, almost exactly. Unfortunately other projects have a higher priority. I'm very curious about your results. Good luck.
TGI says moo
In reply to Re: collapsable tree
by TGI
in thread collapsable tree
by Sadmachine
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |