genzedu777 Posted December 4, 2010 Share Posted December 4, 2010 Hi guys, I am facing an issue here. If you go to this site, www.championtutor.com/validation.php If you test it out in firefox, safari and even chrome, my jquery form validation works. However when I tested it out in IE 7, the form validation function apparently has no effect. It works in IE 8 and not IE7, do you all have any advice with regards to this? Do i need to update my jquery to the latest version? Quote Link to comment https://forums.phpfreaks.com/topic/220632-ie-version-7-browser-issue-with-jquery/ Share on other sites More sharing options...
haku Posted December 4, 2010 Share Posted December 4, 2010 It's probably this line: confirm_password: {equalTo:'#password'}, Remove your trailing comma. Quote Link to comment https://forums.phpfreaks.com/topic/220632-ie-version-7-browser-issue-with-jquery/#findComment-1142855 Share on other sites More sharing options...
genzedu777 Posted December 4, 2010 Author Share Posted December 4, 2010 Hey Haku, Wow...it works. There is another qns which is jquery related, could I ask u? I have posted a qns since weds, but no one has actually given me a solution Would you mind taking a look at my site? www.championtutor.com/t.php Currently the function works the opposite way of what I wanted What I currently need, 'district_a' checkboxes to be disabled when 'North' box is not checked And when user clicks on 'North' box, 'district_a' checkboxes will be activated. And if the 'North' box is unchecked again, all the values in 'district_a' will be cleared. Do you have any suggestion? Thanks //This is my jquery code $('#zone_1').click(function() { var isDisabled = $('.district_a input').attr('disabled'); if (isDisabled) { $('.district_a input').attr('disabled', false).css('backgroundColor',''); $('.district_a label').css('color',''); } else { $('.district_a input').attr('disabled', true).css('backgroundColor',''); $('.district_a label').css('color',''); } }); // end click() Thanks Quote Link to comment https://forums.phpfreaks.com/topic/220632-ie-version-7-browser-issue-with-jquery/#findComment-1142918 Share on other sites More sharing options...
haku Posted December 5, 2010 Share Posted December 5, 2010 Change: if (isDisabled) { to: if (!isDisabled) { Quote Link to comment https://forums.phpfreaks.com/topic/220632-ie-version-7-browser-issue-with-jquery/#findComment-1143183 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.