I have the following form code but I cannot select the sell radio in IE
and I can select both radios at once in Google Chrome.
<form method="post" action="dothemath.php" style="width: 403px" class="style1">
<input type="radio" id="rdobuy" style="width: 20px; height: 21px;" checked="checked"/>
<label>Buy</label>
<input type="radio" id="rdosell" style="width: 20px; height: 21px;"/>
<label >Sell</label>
</form>
Is there any thing I am missing…?
Your radio buttons don’t have
nameattribute. They need them for two reasons.You also need a
valueto say what the submitted data is going to be.As an aside, your
<label>s are useless as they aren’t associated with any controls. They need aforattribute with the same value as theidof the control they are to be associated with.