2

I am looking for a method to pass html to jquery dialog. Without success.

I try:

Drupal.jqui_dialog.html(messages);

And

        Drupal.jqui_dialog.open({
              data : messages
        });  

But it doesn't work.

3

If you have the jQuery UI library with dialog activated on your site, you should be able to do

$('<div>' + message + '</div>').dialog();

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.