title: Reset ajax data when button clcik using jquery
body: <p>I have scenario form like this
  if option selected it will come out a new field i named "hah" i call it using ajax script like this</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$('#bahan').change(function() {
    var id = $('#bahan').val()
    var datana = 'id=' + id
    var urlna = "&lt;?=base_url()?&gt;controller/food/getdetailstok";
    $.ajax({
      type: 'POST',
      url: urlna,
      data: datana,
      success: function(data) {
        $('#hah').html(data);
      }
    })
    return false;
  })</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div class="form-group"&gt;
    &lt;select class="form-control select2" name="bahan" id="bahan"&gt;
        &lt;option value=""&gt;-- Choose One --&lt;/option&gt;
        &lt;option value="1"&gt; 1 &lt;/option&gt;
              &lt;option value="2"&gt; 2 &lt;/option&gt;
    &lt;/select&gt;
  &lt;/div&gt;
  &lt;div id="hah"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>How to reset "hah" if i click button save. hah in reset because the value field options again become null</p>