Calling onclick on a radiobutton list using javascript

后端 未结 7 2294
灰色年华
灰色年华 2020-12-01 13:38

How do I call onclick on a radiobutton list using javascript?

7条回答
  •  天命终不由人
    2020-12-01 13:58

    The other answers did not work for me, so I checked Telerik's official documentation it says you need to find the button and call the click() function:

    function KeyPressed(sender, eventArgs) {
                var button = $find("<%= RadButton1.ClientID %>");
                button.click();
            }
    

提交回复
热议问题