title: CodeIgniter Load Two views on a single onclick function
body: <p>i want to load 2 views on a single click on onclick function.</p>
  
  <p>I am using codeigniter and i want to load views through ajax.</p>
  
  <p>so want to know how is it possible to load load two views in a single click and they both should load in different div's??</p>
  
  <p>i managed to load only one in single div. but stuck on deciding what to do for loading two views.</p>
  
  <p>Here is what i have done so far.</p>
  
  <pre><code>&lt;a href='#' id=\"mnu_btn_user_accounts\" onclick=\"javascript:loadmenu('".base_url()."index.php/".$arLeftMenuList[$key]['FormCIPath']."')\"&gt;
  </code></pre>
  
  <p>below is the function of onloaod</p>
  
  <pre><code>&lt;script type='text/javascript' language='javascript'&gt;
  
      function loadmenu(str){
          $.ajax({
              type: "POST",
              url: str,    
              success: function(output_string){    
                  $('.second_column_content_container').html(output_string);    
              }    
          });
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>Any good solutions for my given problem?</p>