# IE throwing JS Error but works fine in FF

**URL:** <https://forum.kirupa.com/t/ie-throwing-js-error-but-works-fine-in-ff/254075>\
**Category:** web dev\
**Created:** [March 7, 2008, 7:58pm UTC](https://forum.kirupa.com/t/ie-throwing-js-error-but-works-fine-in-ff/254075 "2008-03-07T19:58:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rondog](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rondog/32/2478_2.png) [@rondog](https://forum.kirupa.com/u/rondog)\
**Post date:** [March 7, 2008, 7:58pm UTC](https://forum.kirupa.com/t/ie-throwing-js-error-but-works-fine-in-ff/254075/1 "2008-03-07T19:58:37Z")

</div>

I am getting this error in IE only:

[COLOR=“Red”]object doesn’t support this property or method on Line 247[/COLOR]

With the script debugger it points to this line in my JS -\>

```auto

function initListGroup(n) {
  var _content=cs_findContent(n), count=0;
  if (_content!=null) {
    **[COLOR="Red"]content=new cs_contentOBJ("cs_"+n,_content.menu);[/COLOR]**
    cs_content[cs_content.length]=content;

    for (var i=1; i<initListGroup.arguments.length; i++) {
      if (typeof(arguments*)=="object" && arguments*.tagName && arguments*.tagName=="SELECT") {
        content.lists[count]=arguments*;

        arguments*.onchange=cs_updateList;
        arguments*.content=content; arguments*.idx=count++;
      }
      else if (typeof(arguments*)=="string" && /^[a-zA-Z_]\w*$/.test(arguments*)) {
        content.cookie=arguments*;
      }
    }

    if (content.lists.length>0) {
      cs_initListGroup(content,content.cookie);
    }
  }
}

```

I believe that problem is referring to a null or empty object. What I dont understand is why IE doesn’t show it but FF it works fine. I am using PHP to display some parts of this javascript, but even when I hard code the values in it still doesnt work.
