Changing Message displayed within JQuery method
This might be a high-level question but, I want to change the message that's displayed within my webpage, in the defaultMessage method/procedure. This is so that it can be more user-friendly to the client.I have replaced the text that was assigned to $.validator.messages[method],
from:
- $.validator.messages[method],
- "<strong>Warning: No message defined for " + element.name + "</strong>"
- );
- },
to having a different message assigned to the $.validator.messages[method],
I have rebuilt the solution and restarted but, it still shows the former, rather ugly, error.
The solution should be simple and the closing statements are consistent with the other methods. I don't know what else to try. Can you suggest anything?
Many thanks
Matt