Jquery post option value to PHP
<p>How can I post data using Jquery from selected data to the PHP?</p>

<p>HTML code:</p>

<pre><code>&lt;select id="test" title="test" class="test"&gt;
  &lt;option value="1"&gt;1
  &lt;option value="2"&gt;2
  &lt;option value="3"&gt;3
  &lt;option value="4"&gt;4
  &lt;option value="5"&gt;5
 &lt;/select&gt;
</code></pre>

<p>Jquery:</p>

<pre><code>$('.18').click(function(event) {
  var test_s = $('#test').val();
  $('.opc_mfont').load("index.php?x=18&amp;fid=&lt;?=$fid;?&gt;&amp;mid=&lt;?=$mid;?&gt;&amp;data=' + test_s +'");
  event.stopPropagation();
});
</code></pre>

<p>All the data was successfully post to PHP and MySql query except ' + test_s + ' at the and of jquery load().</p>

<p>I was tested that data received from select fields with "alert(test_s);" and the alert message show up with correct data on it. But I can't send "var test_s" to PHP using jquery load(). How can I do that?</p>
