title: jQuery .get - how to display the result of the .get request?
body: <p>I'm TRYING to get <code>jQuery .get</code> to work.</p>
  
  <p>I have two files. </p>
  
  <p><strong>I.</strong>
  Where I'm perfoming this, on <code>.click</code> event:</p>
  
  <pre><code>         $.get("employee.php", 
              { FirstName: substr[0], LastName: substr[1] }, 
              function(data) {
  
                  // HOW DO DISPLAY THE RESPONSE in #div?
  
              }
          );
  </code></pre>
  
  <p><code>substr</code> coming from: <code>var substr = ( $(this).html() ).split('&lt;span&gt;')[0].split(' ');</code></p>
  
  <p><strong>II.</strong>
  Params are being successfuly past to <code>employee.php</code> and firebug display the response like this:</p>
  
  <pre><code>&lt;div class="employeePopUpBox"&gt;
  
      GET isn't empty. John, Doe
  
  &lt;/div&gt;
  </code></pre>
  
  <p>PHP file:</p>
  
  <pre><code>&lt;div class="employeePopUpBox"&gt;
  
      &lt;?php
      if(!empty($_GET)) {
          $FistName = $_GET['FirstName'];
          $LastName = $_GET['LastName'];
          echo 'GET isn\'t empty. '.$FistName.', '.$LastName;
      } else {
          echo "GET is empty";
      }
  ?&gt;
  </code></pre>
  
  <p></p>
  
  <p><strong>The quastion is how to display the response inside <code>div#response</code>?</strong><br />
  Any suggestion are much appreciated.</p>