title: Having IE Issues When Passing Object By Ref. and Dynamically Adding Properties
body: <p>So, I've created a function to do some error checking on an XML file that I recieve from an AJAX call. Part of the validation is that the function then builds out an object for easy access while I process that data into a form. In FF, works like a charm. IE dies with the error:</p>
  
  <blockquote>
    <p>Object doesn't support this property or method</p>
  </blockquote>
  
  <p>Here is the function (minus the un-important bits):</p>
  
  <pre><code>function checkReceiveXMLTagString( doc, messageObject, tag ) {
  
      var tag_nodes = doc.getElementsByTagName( tag );
  
      ...do some error checking...
  
      messageObject[tag] = tag_str; &lt;-- error occurs on this line
  
      return true;
  }
  </code></pre>
  
  <p>Here is an example of how the function is call:</p>
  
  <pre><code>if ( checkReceiveXMLTagString( messageObject.Name[0], messageObject.Name[0], "First" ) ) {
  
      ...process messageObject.Name[0].First...
  
  }
  </code></pre>
  
  <p>Like I said, FF has no issues. Safari loads the pages as well. IE has issues.</p>
  
  <p>Thanks!</p>