<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>jquery-reset-radio-button &#8211; Extreme Web Designs</title>
	<atom:link href="https://theextremewebdesigns.com/blog/tag/jquery-reset-radio-button/feed/" rel="self" type="application/rss+xml" />
	<link>https://theextremewebdesigns.com/blog</link>
	<description>Web Design and Web Development</description>
	<lastBuildDate>Thu, 21 Jun 2012 16:15:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.5</generator>
<site xmlns="com-wordpress:feed-additions:1">156673191</site>	<item>
		<title>jQuery Reset Radio Button Examples</title>
		<link>https://theextremewebdesigns.com/blog/jquery-reset-radio-button-reset-radio-buttons-using-jquery/</link>
					<comments>https://theextremewebdesigns.com/blog/jquery-reset-radio-button-reset-radio-buttons-using-jquery/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 21 Jun 2012 16:15:54 +0000</pubDate>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[jquery-demos]]></category>
		<category><![CDATA[jquery-reset-radio-button]]></category>
		<category><![CDATA[jquery-tips]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=956</guid>

					<description><![CDATA[Have you ever wondered how to use jQuery to reset radio button once it is selected, using jQuery? In this article, I am going to share easy ways to reset a radio button and/or reset all radio buttons. Examples to Reset Radio Button using jQuery The following example assumes that there is a set of [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Have you ever wondered how to use jQuery to reset radio button once it is selected, using jQuery? In this article, I am going to share easy ways to <strong>reset a radio button and/or reset all radio buttons</strong>.<span id="more-956"></span></p>
<h2>Examples to Reset Radio Button using jQuery</h2>
<div class="make_demo">

	<form action="https://theextremewebdesigns.com/blog/wp-content/themes/ewd_blog_2017/try_demo.php?post_id=956" method="post" name="form1" target="_blank" id="form1">


	<input type="hidden" name="shortcode_content" id="shortcode_content" value="" />

        <div class="try_demo_btn_container">


            <button type="submit" name="sbt_make_demo" id="sbt_make_demo" class="btn-primary btn-try-demo">
                Try Demo
            </button>


        </div><!-- .try_demo_btn_container -->

    </form>
    </div>
    
<p>The following example assumes that there is a set of radio buttons that need to be rest when &#8220;Reset&#8221; button is clicked. There are 2 ways to achieve this.</p>
<h3>HTML source code for all the following examples:</h3>
<pre class="lang:xhtml decode:true">&lt;html&gt;
&lt;head&gt;
&lt;title&gt;jQuery Reset Radio Button | Reset all Radio Buttons using jQuery&lt;/title&gt;
&lt;script type="text/javascript" src="js/jquery-1.8.2.min.js"&gt;&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;

&lt;input id="radio1" type="radio" name="my_radio" value="1"&gt;1&lt;/input&gt;
&lt;input id="radio2" type="radio" name="my_radio" value="2"&gt;2&lt;/input&gt;
&lt;input id="radio3" type="radio" name="my_radio" value="3"&gt;3&lt;/input&gt;
&lt;input id="radio4" type="radio" name="my_radio" value="4"&gt;4&lt;/input&gt;

&lt;input type="submit" name="reset" id="reset" value="Reset" /&gt;

&lt;/body&gt;
&lt;/html&gt;</pre>
<h3>Example #1 &#8211; Use  jQuery to Reset Radio Button using attr() method (jQuery &lt; 1.6)</h3>
<pre class="lang:xhtml decode:true">&lt;script type="text/javascript" language="javascript" &gt;

$('#reset').click(function() {

$('input[name="my_radio"]').attr('checked', false);

});

&lt;/script&gt;</pre>
<h3>Example #2 &#8211; Use jQuery to Reset Radio Button using prop() method (jQuery &gt; 1.6)</h3>
<pre class="lang:xhtml decode:true">&lt;script type="text/javascript" language="javascript" &gt;

$('#reset').click(function() {

$('input[name="my_radio"]').prop('checked', false);

});

&lt;/script&gt;</pre>
<div class="make_demo">

	<form action="https://theextremewebdesigns.com/blog/wp-content/themes/ewd_blog_2017/try_demo.php?post_id=956" method="post" name="form1" target="_blank" id="form1">


	<input type="hidden" name="shortcode_content" id="shortcode_content" value="" />

        <div class="try_demo_btn_container">


            <button type="submit" name="sbt_make_demo" id="sbt_make_demo" class="btn-primary btn-try-demo">
                Try Demo
            </button>


        </div><!-- .try_demo_btn_container -->

    </form>
    </div>
    
<h5>That&#8217;s it!</h5>
<p>Do you know of any other ways to <em><strong>reset radio button using jQuery</strong></em>? Feel free to suggest by commenting below.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/jquery-reset-radio-button-reset-radio-buttons-using-jquery/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">956</post-id>	</item>
	</channel>
</rss>
