i have a function call it: myFunction(A,B,C)
I have onchange event in my option select that process "myFunction(A,B,C)"
<select id='B' onchange="myFunction(userid,B,C)">
I have two radio buttons that also have an onclick event that process "myFunction(A,B,C)"
<input type=radio, id="Cyes" onclick="myFunction(userid,B,Cyes)">
<input type=radio, id="Cno" onclick="myFunction(userid,B,Cno)">
I am using ajax to process the event dynamically.
my question is, in the onclick event for the radio button, i do not want "myFunction" to process the parameter "B"
and in the onchange event for the options, i do not want "myFunction" to process the parameter "C"
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.
i am not sure if this is doable, but if it is, your input is much appreciated.
thanks