Mozilla display Problem with javascript
<p>I n an aspx page I am using a javascript function like</p>

<p>function ReverseResult()
{</p>

<pre><code>document.getElementById("ctl00_ContentPlaceHolder1_txtIncrementAmount").value = parseInt(document.getElementById("ctl00_ContentPlaceHolder1_txtNewCTC").value) - parseInt(document.getElementById('&lt;%=lblCurrentCTC.ClientID %&gt;').innerText);
var result;
result = parseInt(document.getElementById("ctl00_ContentPlaceHolder1_txtIncrementAmount").value)*100 / parseInt(document.getElementById('&lt;%=lblCurrentCTC.ClientID %&gt;').innerText);

 if(result == "Infinity")
 {        
    document.getElementById("ctl00_ContentPlaceHolder1_txtIncrementPerc").value = 100.00;
 } 
 else
 {    
    document.getElementById("ctl00_ContentPlaceHolder1_txtIncrementPerc").value = result.toFixed(2);
 }
</code></pre>

<p>}</p>

<p>This works fine in IE. But in the mozilla the result display as Nan</p>

<p>Pls help to solve this issue</p>
