title: SCRIPT5007: Unable to get value of the property 'indexOf': object is null or undefined in IE
body: <p>Hi I got this error in IE. It works in all other browsers.</p>
  
  <p>This is the line where error shows:</p>
  
  <pre><code>if (parseFloat(totalnumm.replace(/[^0-9-.]/g,'')) &gt; compare_value_neww    &amp;&amp;  values[x].indexOf("Custom") &gt; -1 ).
  </code></pre>
  
  <p>I googled and found one solution:</p>
  
  <pre><code>&lt;meta http-equiv="X-UA-Compatible" content="IE=8;FF=3;OtherUA=4" /&gt;
  </code></pre>
  
  <p>But it did not work for me.</p>