I have two radio buttons. Information will pop out when one of the radio button is selected. How can I check if a radio button is selected using a scriptlet?

有帮助吗?

解决方案

A scriptlet works only server side. It has no relation with the client side, so you have to check whether radio buttons are selected or not with JavaScript or jQuery whichever client-side scripting language you are using.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top