Home >Web Front-end >JS Tutorial >Get the value of the selected radio_jquery

Get the value of the selected radio_jquery

WBOY
WBOYOriginal
2016-05-16 18:36:471098browse
Copy code The code is as follows:

var gender = $("input: checked").val() ;


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn