Jump to content

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/220632-ie-version-7-browser-issue-with-jquery/
Share on other sites

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.