rockinaway Posted October 11, 2008 Share Posted October 11, 2008 It is strange, I have a function to disable a dropdown menu when a certain value isn't check in another dropdown menu. The function works fine in IE, but doesn't work at all in Firefox. No errors are returned, but it jsut doens't work. Has anyone had this problem before? Have they got an example of a working function? Link to comment https://forums.phpfreaks.com/topic/128011-javascript-disable-and-firefox/ Share on other sites More sharing options...
rarebit Posted October 11, 2008 Share Posted October 11, 2008 will need to show particular code (callee and actioned) Link to comment https://forums.phpfreaks.com/topic/128011-javascript-disable-and-firefox/#findComment-662848 Share on other sites More sharing options...
rockinaway Posted October 11, 2008 Author Share Posted October 11, 2008 <script type="text/javascript"> function checkField() { if (document.getElementById('drop1').value != 'other') { document.getElementById('drop2').disabled = true; document.getElementById("drop2").value = 0; } else { document.getElementById("drop2").disabled = false; } } </script> There Link to comment https://forums.phpfreaks.com/topic/128011-javascript-disable-and-firefox/#findComment-662849 Share on other sites More sharing options...
rockinaway Posted October 16, 2008 Author Share Posted October 16, 2008 Any help? Link to comment https://forums.phpfreaks.com/topic/128011-javascript-disable-and-firefox/#findComment-667368 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.