ainoy31 Posted December 14, 2007 Share Posted December 14, 2007 Hello- Has anyone had an issue with the radio buttons not showing up in IE7 but it shows up in firefox? I have a Yes and No radio buttons but the Yes button is missing. Here is my code: <tr> <td>Calculate unit dimensions?</td> <td> <input type="radio" name="cal_dim" value="Yes" onClick="hideAll(); changeDiv('cal_dim', 'block'); " />Yes <input type="radio" name="cal_dim" value="No" />No </td> </tr> It makes no sense to me. Much appreciation. AM Quote Link to comment https://forums.phpfreaks.com/topic/81714-solved-radio-button-issue/ Share on other sites More sharing options...
sKunKbad Posted December 14, 2007 Share Posted December 14, 2007 if you remove the javascript, it will probably appear Quote Link to comment https://forums.phpfreaks.com/topic/81714-solved-radio-button-issue/#findComment-415006 Share on other sites More sharing options...
janim Posted December 14, 2007 Share Posted December 14, 2007 you need to search for new javascript code that work for firefox and IE not all of javascripts work for both Quote Link to comment https://forums.phpfreaks.com/topic/81714-solved-radio-button-issue/#findComment-415010 Share on other sites More sharing options...
ainoy31 Posted December 14, 2007 Author Share Posted December 14, 2007 I have used the same javascript somewhere else in the form and it works fine.... Quote Link to comment https://forums.phpfreaks.com/topic/81714-solved-radio-button-issue/#findComment-415017 Share on other sites More sharing options...
ainoy31 Posted December 19, 2007 Author Share Posted December 19, 2007 I realize that I was using the same name for my radio input as for my DIV ID. I changed the name and it fixed my issue. <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/81714-solved-radio-button-issue/#findComment-418248 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.