simple jquery fetch from mysql
<p>I am trying to use jQuery with MYSQL and I wrote something like this :</p>

<pre><code>&lt;html&gt;

&lt;head&gt;
&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt;
&lt;script&gt;
function example_ajax_request() {
  $('#example-placeholder').html('&lt;p&gt;Loading results ... &lt;img src="ajax-loader.gif"  /&gt;&lt;/p&gt;');
  $('#example-placeholder').load("loadres.php");
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id="query"&gt;
&lt;select name="show"  id="box" &gt;

 &lt;option value="0"&gt;Select A Test&lt;/option&gt;
 &lt;option value="All"&gt;--All--&lt;/option&gt;
 &lt;option value="M1"&gt;Model1&lt;/option&gt;
    &lt;/select&gt;
&lt;input type="button" onclick="example_ajax_request()" value="Click Me!" /&gt;
&lt;/div&gt;
&lt;div id="example-placeholder"&gt;
  &lt;p&gt;Placeholding text&lt;/p&gt;
&lt;/div&gt;&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Basically I want to pass parameters to the <code>loadres.php</code> file. But unable to figure out the exact way to do.
Any help is appreciated.</p>

<p>Thanks.</p>
