I have 2 radio buttons and jquery running.(我有2个单选按钮和jquery运行。)
<input type="radio" name="lom" value="1" checked> first
<input type="radio" name="lom" value="2"> second
Now, with a button I can set onClick to run a function.(现在,使用按钮我可以设置onClick来运行一个功能。) What is the way to make radio buttons run a function when I click on one of them?(当我点击其中一个时,单选按钮运行功能的方法是什么?)
ask by David19801 translate from so