Expected Expression
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 (butto
Solution 1:
I had a comment on the same line as one of my if statements....causing this whole issue.
Solution 2:
I don't think there's anything syntactically wrong with your code, having "run" it in both FireFox and IE. (By "run" I mean "loaded in a <script>
tag", which ought to find syntax errors.)
What line does the error message point to?
Solution 3:
You're missing a declaration of the Page_IsValid variable. I'm guessing that it's a local variable set inside of Page_ClientValidate, which isn't in scope in this function?
You should probably also initialize isValid to false instead of leaving it undefined if both checks fail.
Post a Comment for "Expected Expression"