Hi thanks for taking a look at this!
I am using the below javascript to validate 2 feilds. For some reason if Max salary is lower it gives the below error message, however it also gives the same error even if the MaxSalary is higher!
I'm totoally lost! don;'t know why its doing this!
if (document.t1forms.MiSalary.value == "" < document.t1forms.MxSalary.value == "")
{
alert("Maximum Salary should be higher then Minimum Salary");
t1forms.MxSalary.focus()
valid = false;
}
thanks for all your help!
I am using the below javascript to validate 2 feilds. For some reason if Max salary is lower it gives the below error message, however it also gives the same error even if the MaxSalary is higher!
I'm totoally lost! don;'t know why its doing this!
if (document.t1forms.MiSalary.value == "" < document.t1forms.MxSalary.value == "")
{
alert("Maximum Salary should be higher then Minimum Salary");
t1forms.MxSalary.focus()
valid = false;
}
thanks for all your help!