Hi all,
I'm using code in a javascript function to do a comparison between 2 numeric values.
Here is my code:
var MinValue = 935;
var inputvalue = 1000;
if (inputvalue <= MinValue )
{
alert("input value less than Min value")
return false;
}
alert("Value good")
The problem I'm having is this function is returning TRUE when the Input value is 1000 or greater.
Any help would be very much appreciated.
Thanks in advance
Chris


Reply With Quote

Bookmarks