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? Quote Link to comment 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) Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
rockinaway Posted October 16, 2008 Author Share Posted October 16, 2008 Any help? Quote Link to comment 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.