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.

1 Answer 1

3

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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