Comparing Textbox values in JQUERY
<p>Am comparing 2 values in text box </p>

<p>say <code>$('#Low'.val()) &gt; $('#High'.val())  //Where low and high are textbox id</code></p>

<p>But it is fails in few scenarios as it is comparing string. </p>

<p>i have 2 questions here</p>

<p>1.how to convert to integer or float and check it in correct way </p>

<p>2.When i compare the string as per my above code "99"  > "1000" is returning true. Why it succeeds ?</p>

<p>Thanks </p>
