I'm attempting to create a tree view in JavaScript using values from a database(oledb connection). I put all the values into hidden inputs in the html so I can access them in JavaScript. Here's my challenge:<br>
I set up an loop to display all the parent nodes (Groups of reports), I now need to put a loop inside the other loop to put the child nodes in there (reports). It keeps crashing my browser. Can I nest a 'do...while' inside another in JavaScript? I'm mainly an ASP programmer, don't know nearly enough of JavaScript to get this to work. Any advice would be appreciated.
I set up an loop to display all the parent nodes (Groups of reports), I now need to put a loop inside the other loop to put the child nodes in there (reports). It keeps crashing my browser. Can I nest a 'do...while' inside another in JavaScript? I'm mainly an ASP programmer, don't know nearly enough of JavaScript to get this to work. Any advice would be appreciated.