ainoy31 Posted December 19, 2007 Share Posted December 19, 2007 Hello- I have two radion buttons, Yes and No on a form. The problem is that the Yes button is missing but not the No button while using IE7. However, it appears in FireFox. I thought it was my javascript but removing it did not fix the issue. Has anyone come across this issue? <tr> <td>Calculate unit dimensions?</td> <td> <input type="radio" name="cal_dim" value="Yes">Yes <input type="radio" name="cal_dim" value="No">No </td> </tr> Thanks. AM Quote Link to comment https://forums.phpfreaks.com/topic/82278-solved-strange-issue-with-radio-button/ Share on other sites More sharing options...
~n[EO]n~ Posted December 19, 2007 Share Posted December 19, 2007 Try keeping them in different TD, it is working for me in IE7, maybe other issue Quote Link to comment https://forums.phpfreaks.com/topic/82278-solved-strange-issue-with-radio-button/#findComment-418237 Share on other sites More sharing options...
ainoy31 Posted December 19, 2007 Author Share Posted December 19, 2007 I figured out my issue. I was using the same name for my radio buttons as for my DIV ID. <tr> <td>Calculate dimension of shipment units?</td> <td> <input type="radio" name="cal_dimen" value="Yes" onClick="hideAll(); changeDiv('cal_dim', 'block'); ">Yes <input type="radio" name="cal_dimen" value="No">No </td> </tr> </table> </div> <div id="cal_dim" style="display:none; "> <br> Originally, i had name="cal_dim" for the radio input name. That was why the Yes button was hidden. Quote Link to comment https://forums.phpfreaks.com/topic/82278-solved-strange-issue-with-radio-button/#findComment-418246 Share on other sites More sharing options...
Pancake Posted December 19, 2007 Share Posted December 19, 2007 Perhaps: <input type="radio" name="cal_dim" value="Yes" />Yes Quote Link to comment https://forums.phpfreaks.com/topic/82278-solved-strange-issue-with-radio-button/#findComment-418532 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.