Getting error on IE

Discussion in 'jQuery' started by canishk, Oct 15, 2010.

  1. #1
    Hi all,

    I want to take all the check boxes checked, I am using jQuery and it was working fine. When I put 1000 check boxes and tried, then a issue came up while testing in IE. Here is the snippet code:

           if(document.getElementById('areaCheck').checked){
                if(typeof($("input:checkbox[id*="+str+"]").attr('name')) != 'undefined')
                    [COLOR="#ff0000"]areaArr[j] = $("input:checkbox[id*="+str+"]").attr('name');[/COLOR]
    	}
    
    Code (markup):
    In IE it shows a warning about infinite loop, and while checking I get into the line, but I am having no issue with other browsers.
     
    canishk, Oct 15, 2010 IP
  2. canishk

    canishk Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    if you want to experience the issue visit: http://esevanam.dyndns.org/es in IE. After Loading District, click down arrow for selecting places, check the "Select All" check box and click OK.
     
    canishk, Oct 15, 2010 IP