pass parameters into function php
<p>i have a function call it: <code>myFunction(A,B,C)</code>
I have onchange event in my option select that process <code>"myFunction(A,B,C)"</code></p>

<pre><code>&lt;select id='B' onchange="myFunction(userid,B,C)"&gt;
</code></pre>

<p>I have two radio buttons that also have an onclick event that process <code>"myFunction(A,B,C)"</code></p>

<pre><code>&lt;input type=radio, id="Cyes" onclick="myFunction(userid,B,Cyes)"&gt;
&lt;input type=radio, id="Cno" onclick="myFunction(userid,B,Cno)"&gt;
</code></pre>

<p>I am using ajax to process the event dynamically.</p>

<p>my question is, in the onclick event for the radio button, i do not want "myFunction" to process the parameter "B"</p>

<p>and in the onchange event for the options, i do not want "myFunction" to process the parameter "C"</p>

<p>i am using the same function but i only want the parameters to be processed for that particular onlick/onchange event. i want them to be ignore and i dont want any values pass to the db. </p>

<p>i am not sure if this is doable, but if it is, your input is much appreciated.</p>

<p>thanks</p>
