Skip to main content

All 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: //...
Alexander Farber's user avatar
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 ...
Ward Verduyn's user avatar
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 ...
Tim's user avatar
  • 3
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 ...
LitFishie121's user avatar
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&...
akash prasad's user avatar
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 ...
omri's user avatar
  • 374
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) { $('#...
Sweta Prajapati's user avatar
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 ...
user3079559's user avatar
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, ...
User's user avatar
  • 3
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'...
IlludiumPu36's user avatar
  • 4,274
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. ...
bzc0fq's user avatar
  • 689
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. ...
subhrendu's user avatar
  • 157
-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.
doberkofler's user avatar
  • 10.1k
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 ...
RhymeGuy's user avatar
  • 2,112
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 ...
Francisco's user avatar

15 30 50 per page
1
2 3 4 5
25