disable message and show dialog

disable message and show dialog

Hi,

I am using jquery validation and I want to disable the appended or inline messages and display it in a dialog instead.

So is it possible to set the:

  1. messages:
  2. {
  3.    firstname: "Enter your First Name",
  4.    lastname: "Enter your Last Name",
  5.    email:
  6.    {
  7.       required: "Enter your Email",
  8.       email: "Please enter a valid email address.",
  9.    }
  10. }


but then show in it:

  1. $('#msgAlert').html(message);

  2. $('#dialogAlert').popup();
  3. $("#dialogAlert").popup("open");

Thanks,