This project is archived and is in readonly mode.

#883 ✓invalid
Tyler Johnson

IE not getting data from an object when other browsers do

Reported by Tyler Johnson | April 18th, 2010 @ 06:09 PM

So I have the following code with an Array each statement:

this.fontData[font].entries.each(function(item,index) {

formData[index].span = new Element('span', {'html':item.description+': '});

});

All the objects and arrays are created accurately and this loads fine in Safari/Chrome/Firefox. For some reason IE gives me the error:

"description" is null or not an object.

The problem is that description is not null, it is a string like "yatta yatta". Is there some kind of bug in IE that I don't know about? Seriously confused.

Thanks,
Tyler

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages