• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
    • Questions
    • Teachers
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

119
Views
How can I select one group radio button from two groups and get the value of selected radio?

I want to select one group radio button from two groups and get the value of the selected radio in a variable and show it in another place.

function uncheckRadioBtnSet() {
  if ($('[name="input_15"]').is(":checked").val()) {
    $('input[name="input_17"]').removeAttr("checked");
    jQuery(this).off("click");
  } else {
    $('input[name="input_15"]').removeAttr("checked");
    $(this).off("click");
  }
}

$("input[name='input_15']").click(function () {
  $('input[name="input_17"]').prop("checked", false);
});
$("input[name='input_17']").click(function () {
  $('input[name="input_15"]').prop("checked", false);
});
almost 3 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error