title: Refresh/reload the content in Div using jquery/ajax
body: <p>I want to reload a div on click of a button. I do not want to reload the full page.</p>
  
  <p>Here is my code:</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div role="button" class="marginTop50 marginBottom"&gt;
      &lt;input type="button" id="getCameraSerialNumbers" value="Capture Again" class="disabled" /&gt;
      &lt;input type="button" id="confirmNext"  value="Confirm &amp; Proceed" class="disabled marginLeft50" /&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>On click of <code>&lt;input type="button" id="getCameraSerialNumbers" value="Capture Again"&gt;</code> Button a <code>&lt;div id="list"&gt;....&lt;/div&gt;</code> should reload without loading or refreshing full page.</p>
  
  <p>Below is the Jquery which I tried, but not working:-</p>
  
  <pre><code>$("#getCameraSerialNumbers").click(function () {
      $("#step1Content").load();
  });
  </code></pre>
  
  <p>Please suggest.</p>
  
  <p>Here is the DIV on my page, which contains Pictures and Serial numbers of some products... Which will be coming from database 1st time on the Page Load. But Is User faces some issue he'll click tthe "Capture Again" button "<code>&lt;input type="button" id="getCameraSerialNumbers" value="Capture Again"&gt;</code>" which will load those information again.</p>
  
  <p>The HTML Code of Div:-</p>
  
  <pre><code>&lt;div id="step1Content" role="Step1ShowCameraCaptures" class="marginLeft"&gt;
  
  &lt;form&gt;
      &lt;h1&gt;Camera Configuration&lt;/h1&gt;
      &lt;!-- Step 1.1 - Image Captures Confirmation--&gt;
      &lt;div id="list"&gt;
          &lt;div&gt;
              &lt;p&gt;
                  &lt;a id="pickheadImageLightBox" data-lightbox="image-1" title="" href=""&gt;
                      &lt;img alt="" id="pickheadImage" src="" width="250" height="200" /&gt;
                  &lt;/a&gt;
              &lt;/p&gt;
              &lt;p&gt;
                  &lt;strong&gt;Pickhead Camera Serial No:&lt;/strong&gt;&lt;br /&gt;
                  &lt;span id="pickheadImageDetails"&gt;&lt;/span&gt;
              &lt;/p&gt;
          &lt;/div&gt;
          &lt;div&gt;
              &lt;p&gt;
                  &lt;a id="processingStationSideImageLightBox" data-lightbox="image-1" title="" href=""&gt;
                      &lt;img alt="" id="processingStationSideImage" src="" width="250" height="200" /&gt;
                  &lt;/a&gt;
              &lt;/p&gt;
              &lt;p&gt;
                  &lt;strong&gt;Processing Station Top Camera Serial No:&lt;/strong&gt;&lt;br /&gt;
                  &lt;span id="processingStationSideImageDetails"&gt;&lt;/span&gt;
              &lt;/p&gt;
          &lt;/div&gt;
          &lt;div&gt;
              &lt;p&gt;
                  &lt;a id="processingStationTopImageLightBox" data-lightbox="image-1" title="" href=""&gt;
                      &lt;img alt="" id="processingStationTopImage" src="" width="250" height="200" /&gt;
                  &lt;/a&gt;
              &lt;/p&gt;
              &lt;p&gt;
                  &lt;strong&gt;Processing Station Side Camera Serial No:&lt;/strong&gt;&lt;br /&gt;
                  &lt;span id="processingStationTopImageDetails"&gt;&lt;/span&gt;
              &lt;/p&gt;
          &lt;/div&gt;
          &lt;div&gt;
              &lt;p&gt;
                  &lt;a id="cardScanImageLightBox" data-lightbox="image-1" title="" href=""&gt;
                      &lt;img alt="" id="cardScanImage" src="" width="250" height="200" /&gt;
                  &lt;/a&gt;
              &lt;/p&gt;
              &lt;p&gt;
                  &lt;strong&gt;Card Scan Camera Serial No:&lt;/strong&gt;&lt;br /&gt;
                  &lt;span id="cardScanImageDetails"&gt;&lt;/span&gt;
              &lt;/p&gt;
  
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="clearall"&gt;&lt;/div&gt;
  
      &lt;div class="marginTop50"&gt;
          &lt;p&gt;&lt;input type="radio" name="radio1" id="optionYes" /&gt;Yes, the infomation captured is correct.&lt;/p&gt;
          &lt;p&gt;&lt;input type="radio" name="radio1" id="optionNo" /&gt;No, Please capture again.&lt;/p&gt;
      &lt;/div&gt;
      &lt;div role="button" class="marginTop50 marginBottom"&gt;
          &lt;input type="button" id="getCameraSerialNumbers" value="Capture Again" class="disabled" /&gt;
          &lt;input type="button" id="confirmNext"  value="Confirm &amp; Proceed" class="disabled marginLeft50" /&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p></p>
  
  <p>Now on click of <code>&lt;input type="button" id="getCameraSerialNumbers" value="Capture Again" class="disabled" /&gt;</code> button, the information which is in <code>&lt;div id="list"&gt;... &lt;/div&gt;</code>  should be loaded again. </p>
  
  <p>Please let me know if you need some more information.</p>