Skip to main content

Bug Tracker

Side navigation

#5621 closed enhancement (wontfix)

Opened December 09, 2009 01:26PM UTC

Closed January 07, 2010 07:29PM UTC

Last modified March 15, 2012 10:34AM UTC

$.each bug in ie7

Reported by: yehia Owned by:
Priority: trivial Milestone: 1.4
Component: core Version: 1.4a1
Keywords: Cc:
Blocked by: Blocking:
Description

$.each(multi_dem_array,function(j,arr){

error

})

generates an error in ie7

$.each(multi_dem_array,function(j,arr){

if(arr){

no error

}

})

works fine, there seems to be an extra undefined element that generates the error.

Attachments (1)
  • jquerybug.html (0.3 KB) - added by yehia December 31, 2009 03:40PM UTC.

    test case

Change History (7)

Changed December 09, 2009 01:27PM UTC by yehia comment:1

I'm sure this is the right place to post this. So if you do, let me know.

Changed December 09, 2009 01:28PM UTC by yehia comment:2

*Not sure

Changed December 09, 2009 05:30PM UTC by dmethvin comment:3

resolution: → invalid
status: newclosed

Can you reopen with a simple test case?

Changed December 31, 2009 03:40PM UTC by yehia comment:4

<script type="text/javascript" src="jquery-1.3.2.js"></script>

<script type="text/javascript">

var multi_dem_array=new Array();

multi_dem_array=[['1','x'],

['2','y'],

['3','z'],

];

$.each(multi_dem_array,function(j,arr){

//error

alert(arr[0]);

})

</script>

Changed January 05, 2010 12:35PM UTC by yehia comment:5

resolution: invalid
status: closedreopened

Changed January 06, 2010 12:44AM UTC by dmethvin comment:6

component: unfilledcore
need: Test CaseReview
type: bugenhancement

This is more of an enhancement request; the top-level object passed to extend should be an Object and not an Array.

Changed January 07, 2010 07:29PM UTC by john comment:7

resolution: → wontfix
status: reopenedclosed

Yeah, I don't think this is something we're going to tackle.