All Questions
1,092 questions
0
votes
2
answers
207
views
$(this) not set in the jQuery UI dialog "open" option
At the bottom of a word game there are 4 buttons, which open jQuery UI dialogs with certain words from the game dictionary:
I am trying to simplify the game code by creating the following function:
//...
0
votes
1
answer
133
views
JQUERY UI Dialog Box Success Function Is Not Working...Executing But Not Working
I am trying to convert the ugly dialog confirmation box to the JQUERY UI.....The confirmation box works.....when I convert it over to the dialogue....it's working....in that I am getting a dialog box.....
0
votes
1
answer
73
views
JavaScript doesn't apply on jQuery UI dialog
$("input, select, textarea")
.addClass("ui-widget ui-widget-content ui-corner-all")
.css({
padding: ".2rem .5rem"
});
So, I use the ...
1
vote
2
answers
637
views
jquery.ui dialog button with a icon
I am looking to have a button from a jquery.ui with a icon.
My preferance is fontawsone, but I suppose bootstrap ones are ok.
So, say this markup:
<asp:Button ID="cmdTest" runat=&...
0
votes
0
answers
101
views
Why does the jquery-ui-dialog close-function doesnt work with this button call?
I have this following code where buttons with the value "Add" are added. Now i wanted that these buttons close the dialog window. So i made an onClick attribute and linked it with the hey-...
0
votes
1
answer
61
views
Why are the changes immediately reset when a dialog window is opened?
I want to open a dialog that loads the code of another page. This works so far.
Now I want to set a select of the loaded dialog to one of its options and then disable (lock) it. But every change I ...
0
votes
2
answers
372
views
Unable to close jQuery UI Dialog when clicking outside
I want to set the dialog box to close when clicking outside of it but every approach I've tried doesn't work.
I think that the problems occurs because the element that triggers the dialog doesn't ...
0
votes
1
answer
57
views
Pass dialog title variable in jQuery Dialog
I need to pass the title of the jQuery dialog variably.
I am trying to use the "data" property like this:
jQuery( "#dialog" ).data( 'the_title', 'John Doe Dialog' ).dialog( "...
0
votes
0
answers
780
views
jQueryUI 1.13.0 Breaks dialog function in ASP.NET that works with jQueryUI 1.12.1
This uses jQuery 3.6.0. Wanting to upgrade from jQueryUI 1.12.1 to 1.13.0. This works as expected with jQueryUI 1.12.1. The LinkButton brings up a modal with information, no user input or interaction ...
0
votes
1
answer
44
views
How can I close a JQuery dialog using a pre-defined function?
I want to make my dialog close after the following function:
function decide(category, choice, price, bool) {
data.push([category, choice, price, earn]);
}
I have tried playing around with JQuery's ...
0
votes
2
answers
456
views
TinyMCE Editor not showing inside JQuery UI Dialog
The editor textarea is not showing inside the jQuery UI dialog modal. Instead, the status bar is showing right below the toolbar.
I am using :
jquery-3.5.1.min.js
tinymce v5.7.1
bootstrap v4.5.3
...
0
votes
1
answer
261
views
JQueryUI dialog moving outside browser window
I am using JQueryUI with dialogextend on a boostrap template (Shards UI).
I have the issue that the dialog can move outside the window and makes scrollbars to the webpage:
Does anyone know what can ...
0
votes
2
answers
299
views
Changing jquery UI dialogue titlebar HTML from span to H2
I am using a JQuery UI dialogue and it renders the below HTML. I want the span tag to be replaced with H2 tag, do we have any way to do this
<div class="ui-dialog-titlebar ui-widget-header&...
-1
votes
1
answer
102
views
jQuery UI dialog button positioned on the left
I have a dialog defined as follows:
$('#dgReport').dialog({
modal: true,
autoOpen: false,
width: 450,
title: '',
resizable: false,
...
0
votes
1
answer
325
views
TinyMCE with AJAX content in cloned JQuery UI Dialog
When opening a cloned UI Dialog the first time, the TinyMCE inside the Dialog is loaded with content:
setup: function(editor) {
editor.on('init', function() {
...