title: Data variable in jquery ajax function
body: <p>I'm trying to use the code below, but it's not working:
  UPDATED WORKING: </p>
  
   
  
  <pre><code>$(document).ready(function() { 
      $('.infor').click(function () {
       var datasend = $(this).html();
          $.ajax({
              type: 'POST',
              url: 'http://domain.com/page.php',
              data: 'im_id='+datasend',
              success: function(data){
                  $('#test_holder').html(data);
              }
              });
      }); 
  });
  </code></pre>
  
  <p>As you can see I used <code>$datasend</code> as the var to send but it doesn't return the value of it, only its name.</p>