Alter Radio Input Value When Someone Clicks On a DIV

Alter Radio Input Value When Someone Clicks On a DIV

Hello,
I asked this question in stackoverflow, but didn't help.

I am basically trying to save a html value with a radio select button and my code looks like this.

  1. <ul class="ulitems"> <li><input class="liitems" type="radio" name="items" value="<a class="green none" href="http://www.google.com" title="Google" target="_blank">Google</a>"></li> <li><input class="liitems" type="radio" name="items" value="<a class="green none" href="http://www.yahoo.com" title="Yahoo" target="_blank">Yahoo</a>"></li> <li><input class="liitems" type="radio" name="items" value="<a class="green none" href="http://www.bing.com" title="Bing" target="_blank">Bing</a>"></li> <li><input class="liitems" type="radio" name="items" value="<a class="green none" href="http://www.facebook.com" title="Facebook" target="_blank">Facebook</a>"></li> <li><input class="liitems" type="radio" name="items" value="<a class="green none" href="http://www.twitter.com" title="Twitter" target="_blank">Twitter</a>"></li> </ul>
Now, I want to give users an option to remove "class" from all of the select options value, or only the one selected,
Something like this
  1. <li><input class="liitems" type="radio" name="items" value="<a class="green none" href="http://www.google.com" title="Google" target="_blank">Google</a>"></li>
Will become


  1. <li><input class="liitems" type="radio" name="items" value="<a href="http://www.google.com" title="Google" target="_blank">Google</a>"></li>
How can I do this?

*This is my first post in jquery forums, so please pardon me if I have done any mistakes.