Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3441448
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:33:16+00:00 2026-05-18T08:33:16+00:00

I want to get multiple radio buttons value using Jquery. But now could only

  • 0

I want to get multiple radio buttons value using Jquery. But now could only get the first one’s value.

<form action="get" method="post">
                    <table width="100%">
                    <tbody id="checklistwrapper">

                    <tr class="checklisttr" id="1">

                    <td align="left" width="40%"><br>
                    <label for="veryiii" style="align:left;">Within your circle of competence?</label>
                    </td>

                    <td align="center">
                    <label for="veryi" width="12%">Worst</label><br><br>
                    <input type="radio" id="veryi" value="5.0" name="circle">
                    </td>

                    <td align="center" width="12%"><br><br>
                    <input type="radio" id="vii" value="4.5" name="circle">
                    </td>

                    <td align="center" width="12%">
                    <label for="veryiii">Neutral</label><br><br>
                    <input type="radio" id="veryiii" value="3.0" name="circle"> 
                    </td>

                    <td align="center" width="12%"><br><br>
                    <input type="radio" id="viv" value="1.5" name="circle">
                    </td>

                    <td align="center" width="12%">
                    <label for="veryv">Best</label><br><br>
                    <input type="radio" id="veryv" value="1.0" name="circle">
                    </td>
                    </tr>

                    <tr class="checklisttr" id="2">

                    <td align="left" width="40%"><br>
                    <label for="veryiii" style="align:left;">Macro economic environment favorable?</label>
                    </td>

                    <td align="center" width="12%"><br>
                    <input type="radio" id="veryi" value="5.0" name="macro">
                    </td>

                    <td align="center" width="12%"><br>
                    <input type="radio" id="vii" value="4.5" name="macro">
                    </td>

                    <td align="center" width="12%"><br>
                    <input type="radio" id="veryiii" value="3.0" name="macro"> 
                    </td>

                    <td align="center" width="12%"><br>
                    <input type="radio" id="viv" value="1.5" name="macro">
                    </td>

                    <td align="center" width="12%"><br>
                    <input type="radio" id="veryv" value="1.0" name="macro">
                    </td>
                    </tr>

                    </tbody></table>

                    <div style="float:right;margin-top:10px;margin-bottom:5px;">
                        <button type="button" id="savechecklist">Save Checklist</button>
                    </div>

    $('#savechecklist').click(function(){
    var the_value;
    //the_value = jQuery('input:radio:checked').val();
    //the_value = jQuery('input[name=macro]:radio:checked').val();
    the_value = getChecklistItems();
    //alert(the_value);
});

function getChecklistItems() {
    var columns = [];

    $('tr.checklisttr').each(function() {
        //columns.push($(this).('input:radio:checked').val());
        //the_value = $(this).('input:radio:checked').val();
        var the_value = jQuery('input:radio:checked').attr('id');
        alert(the_value);
    });

    return columns.join('|');
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T08:33:16+00:00Added an answer on May 18, 2026 at 8:33 am
    $('#savechecklist').click(function() {
        var the_value;
        //the_value = jQuery('input:radio:checked').val();
        //the_value = jQuery('input[name=macro]:radio:checked').val();
        the_value = getChecklistItems();
        alert(the_value);
    });
    
    function getChecklistItems() {
        var result =
            $("tr.checklisttr > td > input:radio:checked").get();
    
        var columns = $.map(result, function(element) {
            return $(element).attr("id");
        });
    
        return columns.join("|");
    }
    

    http://jsfiddle.net/btG5L/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to get possibility to select several Categories for one Post with multiple
I want to get myself into programming some serious GUI based applications, but when
I want to get print out invoice but also wanna set margins and page
I want to get all values of a set interface in one go as
I have multiple table rows that has a set of radio buttons on each
hope can help, trying out Jquery clone which seems to work, but I get
This may seem like an odd one, but I want to be able to
I want to get multiple informations from a few server in my environment. This
I'm trying to get multiple markers on a Google map using API V3. The
I have a program that need to get multiple cstrings. I current get one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.