我有 2 个无线电输入。如何处理 onchange 事件中选定值的 jquery 函数?
<input value="radio_2way" name="IBE1$IBE_NurFlug1$flightIBE" id="IBE1_IBE_NurFlug1_radio_2way" checked="checked" type="radio">Hin- und Rückflug <input value="radio_1way" name="IBE1$IBE_NurFlug1$flightIBE" id="IBE1_IBE_NurFlug1_radio_1way" type="radio">Einfach
如果检查的值是 radio_1way,则执行 function1,如果是 radio_2way,则执行 function2。
非常感谢,问候