<div class="formfield ship">
<input type="radio" class="ship1" name="1" >1</input>
<input type="radio" class="ship2" name="1" >2</input>
<input type="radio" class="ship3" name="1" >3</input>
<div class="clear"><!-- FLOAT CLEAR --></div>
</div>
I have radio buttons one must have the default value.. when I pick one and submit and then I go back to the page the value must retain..
any idea how can I do it?
this does what you want – although you need to modify your html slightly (I don’t think
<input></input>is valid)http://jsfiddle.net/malet/dvCpj/6/