title: I have three div's, how to refresh a second div without reloading the complete page?
body: <p>I have three div tags, on click of a link I want to reload the second div tag only instead of loading the complete page, I want to keep the first and third div tag as static and second div tag should be dynamic?</p>
  
  <pre><code>  &lt;div class="first"&gt;
  
    &lt;a href="patientLogin/patientVisit_details/&lt;?php echo $data-&gt;patient_visit_id;?&gt;"&gt;&lt;?php echo $data-&gt;hospital_name;?&gt;&lt;/a&gt;
  
    &lt;/div&gt;
  
  
    &lt;div class ="second"&gt;
    //content//
    &lt;div&gt;
  
  
    &lt;div class ="third"&gt;
    //content//
    &lt;div&gt;
  </code></pre>