jQuery UI Widgets Forums Dialogs and Notifications Window Window w/ button

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 4 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Window w/ button #93067

    rjkantor
    Participant

    I am trying to get an ok button to appear in my modal window. The button, is not being added to the window.
    Any ideas ?

     $('#Window1').jqxWindow({ 
                  content: lcontent.value, 
                  title: 'Mitzvah',
                  showCloseButton: true,
                  position: { x: posX, y: posY }, 
                  isModal: true
                  });
    
          $('#Window1').jqxWindow({ 
                        okButton: $('#ok'),
                        initContent: function () {
                            $('#ok').jqxButton({ width: '65px', theme: 'energyblue' });
                            $('#ok').focus();
                
                        }
        });
    
           $('#Window1').jqxWindow('open');
    Window w/ button #93102

    Hristo
    Participant

    Hello rjkantor,

    Please, take a look at this example:
    https://www.jseditor.io/?key=windows-with-ok-button

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.