Private Sub EmpName_onblur()
If Trim(EmpName.Value) = " " Then
ErrorMsg.innerText = "Employee Name Required!"
Else
ErrorMsg.innerText = " "
End If
End Sub
I am creating a simple DHTML page. I keep getting a runtime error when i run the page. The runtime error is in the "errormsg.innertext = " ". can anyone help me why i am getting this?
If Trim(EmpName.Value) = " " Then
ErrorMsg.innerText = "Employee Name Required!"
Else
ErrorMsg.innerText = " "
End If
End Sub
I am creating a simple DHTML page. I keep getting a runtime error when i run the page. The runtime error is in the "errormsg.innertext = " ". can anyone help me why i am getting this?