how to fill navigation bar dynamically using jquery


   <li>Home
   </li>

   <li>Company
   
            <li>Departments</li>
            <li>Users</li>
            <li>Departments</li>
            <li>Page Info</li>
            <li>Agreements</li>
            <li>Inquiries</li>
  

   </li>


<p>HOME and Company are the li's under main ul,and Company has  Departments,Users etc as child li's 
I need to fill this unordered list using jquery(calling stored procedure)
 can any1 solve my prob</p>
