title: How can I create a multi-level list menu from strings?
body: <p>I am using vbscript inside an HTA to get a list of subnet locations and it returns text like the following:</p>
  
  <ul>
  <li>Chicago   </li>
  <li>Denver   </li>
  <li>Dallas</li>
  <li>Dallas/North</li>
  <li>Dallas/South   </li>
  <li>Dallas/West</li>
  <li>Dallas/West/Building1   </li>
  <li>Dallas/West/Building2   </li>
  <li>Houston  </li>
  <li>Sacramento/West   </li>
  <li>Sacramento/West/Building1</li>
  </ul>
  
  <p>I'm trying to dynamically create an unordered list so that I can use jquery to create a collapsible menu.</p>
  
  <p>I can cycle through an array, but building the nested <code>&lt;ul&gt;</code>s and <code>&lt;li&gt;</code>s are seemingly impossible. I have the jquery ready once the list is actually built, but I can't seem to build it.</p>
  
  <p>Is there any jquery that can do this for me?</p>