I wonder if someone could help with my problem. I wrote a javascript function CheckIfLoginExpired.. This function is suppose to return the value of a text field called loginName however there seems to be something wrong with my function which ive used in an older version of asp.net
function CheckIfLoginExpired()
{
var logtext = LoginName.value;
if ((logtext == null) || (logtext == ""))
{
alert("Login Expired"+logtext) ;
}
}
thanks for any help you can provide