Changing Message displayed within JQuery method

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:
  1. $.validator.messages[method],
  2. "<strong>Warning: No message defined for " + element.name + "</strong>"
  3.        );
  4. },

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