The Little Guy Posted August 17, 2008 Share Posted August 17, 2008 I have this if statement, and it isn't working, can you please help? What it needs to do is this: - remainCups needs to be a number that is 1 or larger AND - rdo2 OR rdo1 must be checked remainCups = document.getElementById('remainCups').value; if(isNaN(remainCups) || (!document.getElementById('rdo2').checked || !document.getElementById('rdo1').checked)){ Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted August 17, 2008 Author Share Posted August 17, 2008 I think I got it! 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.