HI i have to compare three values but its not working..
alert box is not showing if i m putting less or greater values...i m calling this function on blur...
function validate(value)
{
var minimum = document.getElementById('min').innerText;
var maximum = document.getElementById('max').innerText;
// alert(value);
if( value < mimimum )
{
alert('Value is less than minimum value');
}
else if(value > maximum )
{
alert('Value is greater than maximum value');
}
else
{
}
}
</script>
Regards//