Skip to content Skip to sidebar Skip to footer

Get The Value Of Radio Button Groups Using Jquery

I have a php loop code to generate radio button group

Solution 2:

Using jquery...... past below code

<scriptsrc="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script><script>
   $(document).ready(function(){
     $('#q_next').click(function(e){
        $("input:radio:checked").each(function() {
            alert(this.value);
        })   
    });
});
</script>

Post a Comment for "Get The Value Of Radio Button Groups Using Jquery"