All Questions
361
questions
0
votes
2
answers
139
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
65
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 ...
0
votes
1
answer
53
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
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
1
answer
269
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&...
3
votes
0
answers
144
views
jQuery load() has 200 response code, but desired contents not loaded in selected element
In one JSP file I have an element:
<div id="mydialog"></div>
I have an anchor tag <a href='#' id="#newentry">
On the click of the anchor tag I have some jQuery ...
0
votes
0
answers
128
views
Input fields of jquery dialog box freezes
I have a dialog box with a button and checkbox on it. On open function of dialog box i have following code:
$('#dialog1').dialog({
modal: true,
open: function (event, ui) {
$('#...
0
votes
1
answer
506
views
Jquery Dialog not loading in aspnet MVC
i want to be to display child records when i click a button . The data is displayed as a table.
I have created a partial view that will display the records.
I have created a controller action method ...
0
votes
1
answer
284
views
When the jQuery dialog is on I do not want the user to interact with the background
If the user clicks an external link, the jQuery UI dialog appears with "ok" and "cancel" buttons and when they hit "ok" it should take them to the external site.
Everything is working as expected, ...
0
votes
2
answers
151
views
JQuery - How to target correct button in multiple JQuery cloned Dialogs?
I am cloning multiple instances of a JQuery Dialog:
$('#button').click(function() {
$('.dialog').clone().appendTo('body').removeClass('dialog').dialog({
width: '300',
height: '200'...
0
votes
2
answers
1k
views
How to replace window.alert('') with jQuery UI dialog - merging two scripts
I am looking for some help with merging two jquery scripts. Both attached examples are working with basic functionality, but I do not have enough experience in order to combine them into one script. ...
0
votes
1
answer
152
views
Scrollbar freezing when there is lots of data in jQuery dialog
I have a jQuery Dialog box which is populated by an AJAX call to a controller action in ASP.net MVC. This AJAX call returns more than 13,000 rows of data which is bound to a table inside the dialog.
...
-5
votes
1
answer
1k
views
Is there a Vanilla JS alternative for the jQuery UI Dialog widget [closed]
Is there a Vanilla JS replacement for the dialog widget provided by jQuery UI?
It should at least allow to contain arbitrary markup, so alert or prompt are not an option.
0
votes
1
answer
377
views
jQuery UI - Prevent dialog from dragging above div
Is there a way to prevent jQuery UI dialog from going above or below #top div? I'm not looking for z-index solution, but rather something like offset from the top. In this case dialog should be unable ...
2
votes
1
answer
64
views
Datepicker on jQuery UI dialog fails on second opening of dialog
I have a static page with a link that opens a modal Dialog that loads a sub-page. The sub-page includes an input with a Datepicker widget.
When I first open the Dialog, the sub-page loads and the ...