title: jquery onchange function is not calling
body: <h2>i have the following piece of code:</h2>
  
  <pre><code>function teamAuswaehlen() {
      $.post("Auswahl_Abteilung?_=" + new Date().getTime(), function(data) {
          eintraege = "&lt;div class='col-md-12 col-xs-12'&gt;" +
              "&lt;div class='form-group'&gt;" +
              "&lt;select class='form-control' id='teams'  title='Wählen Sie hier ihre Teamansicht'&gt;"
          if (data.length &gt; 1) {
              $("#kalenderAuswahl .modal-body").empty();
  
  
  
              $.each(JSON.parse(data), function(key, value) {
                  eintraege += "&lt;option id='" + value.Team_ID + "'&gt;" + value.TE_Kurzbezeichnung + "| " + value.TE_Langbezeichnung + "&lt;/option&gt;";
              });
              eintraege += "&lt;/select&gt;" +
                  "&lt;/div&gt;" +
                  "&lt;/div&gt;";
          }
          if (data.length &gt; 1) {
              $("#kalenderAuswahl .modal-body").append(eintraege);
              $("#kalenderAuswahl").modal("show");
          }
  
      }).done(function() {
          $("#teams").change(function() {
              getId(this);
          });
      });
  }
  </code></pre>
  
  <p>The Modal is build dynamicly at the start of the programm.
  So the onchange event i want to call if a user change the select box is store in the done block.
  But if i trie the code, nothing happens so the onchange event is not fired.</p>
  
  <p><strong>So how can i handle that ?</strong></p>