Hello All, below is some javascript that I am currently running in an ASP application. I continue to get a runtime error saying expected ; near my return statement. Can anyone see what it might be. Thanks in advance.
if (intSlots[j] == "1")
{
if (document.dentry.alertGiven.value == "n")
{
alert ("A time that was entered is between another shift. Please correct this.")
document.dentry.alertGiven.value = "y"
}
j = 100
i = 100
return 0
} else {
intSlots[j] = 1
}
if (intSlots[j] == "1")
{
if (document.dentry.alertGiven.value == "n")
{
alert ("A time that was entered is between another shift. Please correct this.")
document.dentry.alertGiven.value = "y"
}
j = 100
i = 100
return 0
} else {
intSlots[j] = 1
}