title: Trying to Convert Label that is number to int
body: <p>I've been trying to convert a label to an int to do an equation. I haven't been able to use ConvertToInt32() or ParseInt(). I've been getting back NaN each time. Please help! Here's my code: </p>
  
  <pre><code>    &lt;div id="width"&gt; &lt;strong&gt;Roll Width: &lt;/strong&gt;&lt;label id="lblRollWidth"       type="number"&gt;25&lt;/label&gt;&lt;/div&gt;
      &lt;/asp:Panel&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  
  
   &lt;input type="text" name="input1" id="input1" value=""&gt;
  &lt;input type="text" name="input2" id="input2" value=""&gt;
      &lt;a href="javascript: void(0)" onClick="calc()"&gt;Calculate&lt;/a&gt;
          &lt;input type="text" name="output" id="output" value=""&gt;
  
    &lt;script&gt;
  
   function calc(){
  
   var textValue1 = document.getElementById('input1').value;
   var textValue2 = document.getElementById('input2').value;
   var textValue3 = document.getElementById('lblRollWidth').value;
  
  
  
  
         document.getElementById('output').value = textValue1 * textValue2 * textValue3; 
  }
    &lt;/script&gt;
  </code></pre>