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

  • SEARCH
  • Home
  • 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 6798627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:45:11+00:00 2026-05-26T18:45:11+00:00

I can reset all radio buttons over many rows with the following jQuery. $(

  • 0

I can reset all radio buttons over many rows with the following jQuery.

$( ".reset_location" ).click(function() {
    $('#tbl_outside table.tbl_Inside input:radio').each(function(){
            $(this).attr("checked", false);
    });
    $('#tbl_outside table.tbl_Inside input:radio').effect("pulsate");
});

What I need to do is if the user clicks on the reset_location radio (class=reset_location) then set the attr to checked false for the radios in tbl_Inside on that row (not all the rows).

Hope you can help?

<table id="tbl_outside">
<thead>
<tr>
    <td> Location </td>
</tr>
</thead>
<tbody>
    <tr id="1194">
    <td>
          <input type="radio" value="reset" class="reset_location"/>
    </td>
    <td>
        <table class="tbl_Inside" id="93cf9d8ba8" >
        <tbody>
          <tr>
              <td></td>
              <td>
                   <input type="radio" value="h" name="93cf9d8ba8"/>
              </td>
              <td></td>
          </tr>
          <tr>
              <td>
                   <input type="radio" value="l" name="93cf9d8ba8"/>
              </td>
              <td>
                    <input type="radio" value="c" name="93cf9d8ba8"/>
              </td>
              <td>
                    <input type="radio" value="r" name="93cf9d8ba8"/>
              </td>
          </tr>
          <tr>
              <td></td>
              <td>
              <input type="radio" value="f" name="93cf9d8ba8"/>
              </td>
              <td></td>
          </tr>
          </tbody>
          </table>
     </td>
    </tr>
    <tr id="1193">
    <td>
          <input type="radio" value="reset" class="reset_location"/>
    </td>
    <td>
        <table class="tbl_Inside" id="123456" >
        <tbody>
          <tr>
              <td></td>
              <td>
                   <input type="radio" value="h" name="123456"/>
              </td>
              <td></td>
          </tr>
          <tr>
              <td>
                   <input type="radio" value="l" name="123456"/>
              </td>
              <td>
                    <input type="radio" value="c" name="123456"/>
              </td>
              <td>
                    <input type="radio" value="r" name="123456"/>
              </td>
          </tr>
          <tr>
              <td></td>
              <td>
              <input type="radio" value="f" name="123456"/>
              </td>
              <td></td>
          </tr>
          </tbody>
          </table>
     </td>
    </tr>
</tbody>
</table>
  • 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-26T18:45:12+00:00Added an answer on May 26, 2026 at 6:45 pm

    Search for the parent <tr> element, and select all input[type="radio"] elements. Unless you’re using an old version of jQuery, you should use .prop() instead of .attr() to set a property.

    $( ".reset_location" ).click(function() {
        $(this).parents('tr:first').find(':radio')
            .prop("checked", false)
            .effect("pulsate");
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to reset an object. Can I do it in the following way?
Hi , I want to create a simple function to reset all input values
How can I reset all options in Resharper back to their default?
I am developing a mobile application and I have a click function in jQuery
I am using a form and a reset button where I can reset all
$ git reset -- <file_path> can reset by path. However, $ git reset (--hard|--soft)
How can i reset a display:none and add some value here is the code
I have a class which represents exam,it can start/reset/pause exam, so the methods look
I use Telerik RadCalendar ASP.NET control. How I can in code reset selected date?
While reset and checkout have different usages most of the time, I can't see

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.