Am comparing 2 values in text box
say $('#Low'.val()) > $('#High'.val()) //Where low and high are textbox id
But it is fails in few scenarios as it is comparing string.
i have 2 questions here
1.how to convert to integer or float and check it in correct way
2.When i compare the string as per my above code "99" > "1000" is returning true. Why it succeeds ?
Thanks