How to pass parameters / arguments using jQuery?
<pre><code>&lt;script src="http://code.jquery.com/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
    function chooseLocationType(location, title, demand){
        alert(demand);
        }
</code></pre>

<h2>    </h2>

<pre><code>&lt;body&gt;
&lt;input 
    name="tempstaff_location" 
    class="ques_radio" 
    id='tempstaff_location'
    value='location_' 
    type="radio" onclick="chooseLocationType('a','b','c')" /&gt;
&lt;/body&gt;
</code></pre>

<p>I have the folowing code, on click of the radio box ,
There is one conditional code based on this to show hide some dive.</p>

<p>And there is one more jQuery script which run on Click and used function.</p>

<p>jQuery(this)</p>

<pre><code>input[name=tempstaff_location]").click(function(){
            if(jQuery(this).attr("checked")){


        });
</code></pre>

<p>How can I combine both script in one.</p>
