IE - "Error: Object doesn't support this action"
<p>I'm getting a frustrating javascript error in IE7 that I can't get around.  It is working fine in Chrome and Firefox, but not in IE..</p>

<p>The line I am getting the error in is: <code>item = listGetAt(list,'1','-');</code></p>

<p>This is calling the following custom method:</p>

<pre><code>function listGetAt(list,position,delimiter) {   
if(delimiter == null) { delimiter = '-'; }
list = list.split(delimiter);
if(list.length &gt; position) {
    return list[position];
} else {
    return list.length;
}
}
</code></pre>

<p>Can anyone see something I can't?</p>

<p>Many thanks in advance for any help.</p>

<p>Jason</p>
