[Javascript] (no subject)

Scott Hamm linuxgold at gmail.com
Wed Nov 2 12:08:53 CST 2005


Ok, here is the latest source so far, I was able to bring up "passed
here, with value of 12." (6 kph and 6 kpp) but didn't bring up the
next alert "Exceeding 8 hours total to use PTO" it should happen.

kpp = parseFloat(kpp);
kph = parseFloat(kph);
if(!isNaN(kpp) &&!isNaN(kph) )
{
	ktot = kpp + kph;
}
alert("passed here, with value of " + ktot + ".")
If(ktot>'8')
{
	alert("Exceeding 8 hours total to use PTO")
	krono_process.khrs.focus()
	return false;
}



More information about the Javascript mailing list