Change Radio Input Value on click
<p>I have some radio inputs and their values have <code>&lt;a class="green none" href=""</code> in them. I also have a section, a <code>div</code> with classname <code>toggleclass</code> precisely, and when that div is clicked, I need that <code>none</code> to be removed from class attribute.</p>

<p>The HTML  </p>

<pre><code>&lt;ul class="ulitems"&gt;
    &lt;li&gt;&lt;input class="liitems" type="radio" name="items" value="&lt;a class="green none" href="http://www.google.com" title="Google" target="_blank"&gt;Google&lt;/a&gt;"&gt;&lt;/li&gt;
    &lt;li&gt;&lt;input class="liitems" type="radio" name="items" value="&lt;a class="green none" href="http://www.yahoo.com" title="Yahoo" target="_blank"&gt;Yahoo&lt;/a&gt;"&gt;&lt;/li&gt;
    &lt;li&gt;&lt;input class="liitems" type="radio" name="items" value="&lt;a class="green none" href="http://www.bing.com" title="Bing" target="_blank"&gt;Bing&lt;/a&gt;"&gt;&lt;/li&gt;
    &lt;li&gt;&lt;input class="liitems" type="radio" name="items" value="&lt;a class="green none" href="http://www.facebook.com" title="Facebook" target="_blank"&gt;Facebook&lt;/a&gt;"&gt;&lt;/li&gt;
    &lt;li&gt;&lt;input class="liitems" type="radio" name="items" value="&lt;a class="green none" href="http://www.twitter.com" title="Twitter" target="_blank"&gt;Twitter&lt;/a&gt;"&gt;&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>Some of the JavaScripts I tried</p>

<pre><code>$('.toggleclass').on("click",function() {
    $('.ulitems').find(' none').remove();
});
</code></pre>

<p>also,  </p>

<pre><code>$('.toggleclass').on("click",function() {  
$('.liitems').attr("value").remove(' none');
});  
</code></pre>

<p>and also,  </p>

<pre><code>$('.toggleclass').on("click",function() {
    $('.liitems').attr("value").find('class="green none"').replaceWith('class="green"');
});  
</code></pre>

<p>But, that seems not to work at all. Can you please guide me?  </p>

<p><strong>To be exact, I need to save HTML value ,<code>a class="green none" href=""...</code> in this case, with a radio select submit. And, I want to give users an option to remove that <code>none</code> class, (or the whole class attribute if removing <code>none</code> isn't possible) when they click on a button.</strong></p>

<p>Regards</p>
