title: Why is jquery post not working?
body: <p>Dont know what's wrong with the following jquery.<br>I can't get to grab the the variable <code>'ltable'</code> with <code>'GET'</code> in my PHP script which is in a div <code>#dispsome</code> in the same page. </p>
  
  <pre><code>var text = $('#ltable option:selected').val();
  
  $.get('searchnsendmail2.php', {ltable:text}, function(data) {alert(ltable);
  
  $('#dispsome').fadeIn('fast');
  $('#sall').fadeOut('fast');
  
  });
  </code></pre>
  
  <p>Just to make the question clearer, I need to use the value of Text in a PHP mysql query in <code>#dispsome</code>. I am trying to capture it with $_GET['ltable']. But doesnt work ! The alert is showing [Object HtmlSelectElement] and not the value of ltable/text</p>