Expected Expression

Posted by coffeeaddict on Stack Overflow See other posts from Stack Overflow or by coffeeaddict
Published on 2010-04-22T21:28:54Z Indexed on 2010/04/22 21:33 UTC
Read the original article Hit count: 139

Filed under:

I cannot figure out what I did or did not do here syntactically to cause this error. I don't see what's missing:

function ShowWaitMessage(button)
{
    var isValid;

    if (buttonSelected())
    {
        showWaitMessage(button, "showMessage1");
        isValid = true;
    }
    else
    {
        Page_ClientValidate();
        if (Page_IsValid)
        {
            showWaitMessage(button, "showMessage2");
            isValid = true;
        }
    }

    return isValid;
}

© Stack Overflow or respective owner

Related posts about JavaScript