jQuery UI Widgets › Forums › Dialogs and Notifications › Window › Window w/ button
Tagged: javascript window, jquery window, jqwidgets window, window
This topic contains 1 reply, has 2 voices, and was last updated by Hristo 7 years, 7 months ago.
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');
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
You must be logged in to reply to this topic.