title: Jquery select several
body: <p>I'v a jquery doubt! I have this form in HTML. I insert the Technician SAP and on change update is name! I am doing this via ajax. </p>
  
  <pre><code>    &lt;div class="row"&gt;
          &lt;div class="col-md-4" style="padding-left:  0px; width: 80px;"&gt;
              &lt;input type="text" class="form-control" id="1TechnicianSAP" name="1TechnicianSAP" placeholder="SAP"&gt;    
          &lt;/div&gt;
          &lt;div class="col-md-4" style="padding-left:  0px; width: 330px;"&gt;
              &lt;input type="text" class="form-control" id="1TechnicianName" name="1TechnicianName" placeholder="Name"&gt;    
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;br&gt;
       &lt;div class="row"&gt;
          &lt;div class="col-md-4" style="padding-left:  0px; width: 80px;"&gt;
              &lt;input type="text" class="form-control" id="2TechnicianSAP" name="2TechnicianSAP" placeholder="SAP"&gt;    
          &lt;/div&gt;
          &lt;div class="col-md-4" style="padding-left:  0px; width: 330px;"&gt;
              &lt;input type="text" class="form-control" id="2TechnicianName" name="2TechnicianName" placeholder="Name"&gt;    
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>This is my jquery code. How can I make this to all the inputs? I can have 3 Technicians or 10.. I don't want to have several ajax calls, just one! How can I do this?</p>
  
  <pre><code>    $("[id$=TechnicianSAP]").change(function () {
          var TechnicianSAP = $(this).val();
          $.ajax({
              url: 'GetTechnicianInfo.php',
              type: 'POST',
              data: { TechnicianSAP: TechnicianSAP },
              success: function (data) {
                  $("#1TechnicianName").val(data);
              }
          });
      });
  </code></pre>