IE7/IE8 issues - help
  • Is there any known issues with these 2 versions of internet explorer? As the JavaScript doesn't seem to be running at all when I test in these browsers. All others are fine.

    This is how I've structured each form entry:








    And I call the jQuery in the HEAD section with this:

    $(document).ready(function(){
    $('input[type=radio]').prettyCheckboxes({
    checkboxWidth: 42, // The width of your custom checkbox
    checkboxHeight: 41, // The height of your custom checkbox
    });
    });


    I've also styled up my radio buttons accordingly.
  • There is a bug that prevents the js from working in IE 7/8. I fixed with the following revisions:

    current (v1.1) code
    if($('input#' + $(this).attr('for')).is(':checkbox')){
    $(this).toggleClass('checked');
    $('input#' + $(this).attr('for')).checked = true;

    changed code
    if ($('input#' + $(this).attr('for')).is(':checkbox')) {
    $(this).toggleClass('checked');
    if ($.browser.msie)
    if ($('input#' + $(this).attr('for')).prop('checked') == true)
    $('input#' + $(this).attr('for')).removeAttr('checked');
    else
    $('input#' + $(this).attr('for')).attr('checked', 'checked');
    else
    $('input#' + $(this).attr('for')).checked = true;


Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter