you enter incorrect data, you will not see the “Input is not valid!” message If JavaScript (client-side script) is enabled, and you enter the correct data, you will still see the “Input is valid!” message This is because, if there is an error, the client-side validation catches the error, and re-displays the web page without re-sending any data to the server, so the Click event handler (method) is never executed