Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(function(){
- $("#btn").click(function (){
- alert($(‘input:radio[name=opt]:checked’).val());
- });
- });
- </script>
- <input type="rádio" name="opt" value="1234567890">
- <input type="button" id="btn" value="click">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement