Skip to content

Open dialog widget after page rendering #428

Closed Answered by FlipWarthog
adamitj asked this question in PrimeFaces
Discussion options

You must be logged in to vote

I think you just need to wrap the js in jquery's document ready function to defer it:

$( document ).ready(function() {
  var widget = PF('wdialog1');
  widget.show();
});

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@adamitj
Comment options

@FlipWarthog
Comment options

Answer selected by melloware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants