title: Problems with refresh div with Jquery (append) and variables
body: <p>After i have recovery a date with a datePicker, i would like to post the news attributs of a object in a special div in my JSP. </p>
  
  <p>The problem is that all the page is reloaded in my div. </p>
  
  <p>This is a part of my scprit about the Jquery and Ajax. I want to show the attribut of "Mission" :</p>
  
  <pre><code>$('#datepicker').change(function() {
  $.ajax({
        type: "GET",
        url: '${pageContext. request. contextPath}/convoyeur/listeMission/' + $('#datepicker').val().replace('/','-').replace('/','-'),
        error:function(msg, string){
            alert( "Error !: " + string );
            },
        success: function(mission){
            // On remet les champs à vide
            $("#tab").empty().hide;
            //On remplit les champs de la du tableau avec la date saisie
            $("#tab").append(mission);
  
  
  
        }
      });
  });
  </code></pre>
  
  <p>And then the code about my JSP :</p>
  
  <pre><code>&lt;p&gt;Choisir une date: &lt;input type="text" id="datepicker" /&gt;&lt;/p&gt;
  
  &lt;div  id="tab" class="container"&gt;
  
  &lt;div  class="content"&gt;
      &lt;table class="table table-striped" &gt;
          &lt;thead&gt;
              &lt;tr&gt;
                  &lt;th class="center-td"&gt;Date d'execution&lt;/th&gt;
                  &lt;th class="center-td"&gt;client&lt;/th&gt;
                  &lt;th class="center-td"&gt;site depart&lt;/th&gt;
                  &lt;th class="center-td"&gt;site arrivee&lt;/th&gt;
                  &lt;th class="center-td"&gt;Vehicule&lt;/th&gt;
                  &lt;th class="center-td"&gt;commentaire&lt;/th&gt;
                  &lt;th class="center-td"&gt;&lt;/th&gt;
              &lt;/tr&gt;
          &lt;/thead&gt;
          &lt;tbody&gt;
              &lt;c:forEach var="mission" items="${listMission}" &gt;
                  &lt;tr&gt;
                      &lt;td&gt;&lt;c:out value="${mission.date }"/&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;c:out value="${mission.nomClient }"/&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;c:out value="${mission.siteDepart.adresse }"/&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;c:out value="${mission.siteArrivee.adresse }"/&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;c:out value="${mission.vehicule.modele }"/&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;c:out value="${mission.commentaire }"/&gt;&lt;/td&gt;
  
                  &lt;/tr&gt;
              &lt;/c:forEach&gt;
  
          &lt;/tbody&gt;
      &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>I think that the mistake is on the line :</p>
  
  <pre><code>$("#tab").append(mission)
  </code></pre>
  
  <p>but i'm not sure.</p>
  
  <p>Thanks you</p>