jquery load function problem
<p>i have a select box like that</p>

<pre><code>&lt;select name="sehirler_post" id="sehirler_post"&gt;
</code></pre>

<p>i am getting values via jquery. i know two different ways to get values.
first one is :</p>

<pre><code>var sehirler_post = jQuery('select#sehirler_post').attr('value');
</code></pre>

<p>second one is:</p>

<pre><code>jQuery('#sehirler_post ').val()
</code></pre>

<p>and finally here is my problem, i have something like this:</p>

<pre><code>jQuery("#okay").load("ajax_post_category.php?okay="+id+"");
</code></pre>

<p>i would like to use selectbox value instead of id (okay="+id+"). so, i must change +id+ part with select box value. however i can not do it..
i tried to do like that:</p>

<pre><code>jQuery("#okay").load("ajax_post_category.php?okay="+jQuery('#sehirler_post').val()+"");
</code></pre>

<p>it did not work. there must be a way, so i can use selectbox value instead of id in my load function. if anyone helps me, ill be so glad.</p>

<p>regards</p>
