Passing Data to a puidialog

jQuery UI Widgets
Post Reply
Posts: 1
Joined: 26 Feb 2018, 20:00

26 Feb 2018, 20:06

Hello everyone, I'm trying to pass values to the component, but I'm not getting it. Is there any right way to do it?

Code: Select all

      showEffect: 'fade',
      hideEffect: 'fade',
      responsive: true,
      icon: 'fa-check',
      width: 400,
      title: 'Alerta de remoção',
      modal: true,
      buttons: [{
            text: 'Sim',
            icon: 'fa-check',
            click: function() {
              var val = $(this).data('value');
            text: 'Não',
            icon: 'fa-close',
            click: function() {

    $('#dlgelement').data('value', 'Hellor World!').puidialog('show');

Post Reply

Return to “PrimeUI”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest