title: Dropdown List ajax is not working
body: <p>There are 2 drop down list:</p>
  
  <ol>
  <li>Project</li>
  <li>Plot Details</li>
  </ol>
  
  <p><strong>My Question is:</strong> Once <code>Project</code> is selected then <code>Plot Details</code> Get Populated properly but, when <code>Plot Details</code> of Dropdown is get select then Chrome hangs up.</p>
  
  <p>To continue, I have to refresh the page. I want the <code>Plot Details</code>(drop down) value to call another ajax call.</p>
  
  <p><strong>javascript</strong></p>
  
  <pre><code>$(document).ready(function() {
      $('.get_member_name').live('change', function() {
          alert('hello')
          var project = $('#project').val();
          var plot_details = $('#plot_details').val();
          var base_url = $('#base_url').val();
          if (project &amp;&amp; plot_details) {
              $.ajax({
                  type: "POST",
                  url: base_url + "admin/get_member_name",
                  data: {'category': category},
                  dataType: "html",
                  success: function(result) {
                      alert(result)
                  }
              })
          }
      });
  })
  </code></pre>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;div class="form-group"&gt;
        &lt;label class="col-md-3 control-label" for="inputSuccess"&gt;
             Plot Details :
        &lt;/label&gt;
        &lt;div class="col-sm-9"&gt;
             &lt;select class="form-control get_member_name" name="plot_details" required="required" id="plot_details"&gt;
                  &lt;option value="" id="opp12"&gt;Select Plot&lt;/option&gt;
             &lt;/select&gt;
        &lt;/div&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p><strong>PHP</strong></p>
  
  <pre><code>public function get_plot_details() {
      if ($this-&gt;session-&gt;userdata('role_id') == 1) {
          $data['record'] = $this-&gt;db-&gt;get_where('plot_details', array('project_id' =&gt; $this-&gt;input-&gt;post('project')))-&gt;result();
          print_r($this-&gt;load-&gt;view('admin/ajax_data', $data, TRUE));
      } else {
          redirect('home/login');
      }
  }
  </code></pre>
  
  <p><strong>View Page</strong></p>
  
  <pre><code>if (isset($record) &amp;&amp; $record != NULL &amp;&amp; $record != "") {
      foreach ($record as $m) {
          echo '&lt;option value="' . $m-&gt;id . '"&gt;&amp;nbsp;' . $m-&gt;plot_number . '  Area ' . $m-&gt;total_area . '&lt;/option&gt;';
      }
  }
  </code></pre>