Skip to main content

All Questions

123 votes
21 answers
144k views

jQuery UI - Close Dialog When Clicked Outside

I have a jQuery UI Dialog that gets displayed when specific elements are clicked. I would like to close the dialog if a click occurs anywhere other than on those triggering elements or the dialog ...
Sonny's user avatar
  • 8,326
83 votes
11 answers
166k views

Passing data to a jQuery UI Dialog

I'm developing an ASP.Net MVC site and on it I list some bookings from a database query in a table with an ActionLink to cancel the booking on a specific row with a certain BookingId like this: My ...
Frederik's user avatar
  • 2,178
194 votes
11 answers
286k views

jquery-ui-dialog - How to hook into dialog close event

I am using the jquery-ui-dialog plugin I am looking for way to refresh the page when in some circumstances when the dialog is closed. Is there a way to capture a close event from the dialog? I know ...
Brownie's user avatar
  • 7,728
211 votes
20 answers
148k views

jQuery UI Dialog - missing close icon

I'm using a custom jQuery 1.10.3 theme. I downloaded every straight from the theme roller and I have intentionally not changed anything. I created a dialog box and I get an empty gray square where the ...
Xion Dark's user avatar
  • 3,424
79 votes
12 answers
226k views

jQuery UI Dialog Box - does not open after being closed

I have a problem with the jquery-ui dialog box. The problem is that when I close the dialog box and then I click on the link that triggers it, it does not pop-up again unless I refresh the page. ...
David Bonnici's user avatar
137 votes
14 answers
226k views

Automatically resize jQuery UI dialog to the width of the content loaded by ajax

I'm having a lot of trouble finding specific information and examples on this. I've got a number of jQuery UI dialogs in my application attached to divs that are loaded with .ajax() calls. They all ...
womp's user avatar
  • 117k
115 votes
5 answers
140k views

jQuery ui dialog change title after load-callback

I like to change the title from an UI Dialog after i have submitted a form in this UI Dialog. So in the callback-function after load i should suggest, but i've tried and googled without result. Has ...
Guido Lemmens 2's user avatar
29 votes
9 answers
118k views

jQuery UI Alert Dialog as a replacement for alert()

I'm using alert() to output my validation errors back to the user as my design does not make provision for anything else, but I would rather use jQuery UI dialog as the alert dialog box for my message....
mauzilla's user avatar
  • 3,582
22 votes
3 answers
13k views

jQuery UI Dialog Buttons from variables

I have variables holding the translated labels for buttons inside a jquery ui dialog. I cannot fill the button array key with the variable itself, and can't find any way to let it treat my variable ...
Karsten's user avatar
  • 14.6k
8 votes
5 answers
51k views

How to Minimize/Maximize jQuery Dialog?

I am using jQuery UI Dialog to show a video. The video is working fine. What I want to do is minimize the Dialog-element just like in an OS or something like that. A small icon like (" - ") that ...
Fawad Ghafoor's user avatar
8 votes
3 answers
23k views

jQuery UI Dialog not opening a second time

I am using jqueryui for a dialog box. Clicking on the 'Click for a modal' link the first time works. When pressing the ESC key, the dialog box disappears. But the clicks after that don't work. I want ...
Istiaque Ahmed's user avatar
7 votes
3 answers
8k views

How do I set the containment on a jQuery UI Dialog?

Is it possible to add containment (confining to the boundary of another element) to jQuery UI's Dialog?
PPPHP's user avatar
  • 737
4 votes
2 answers
12k views

JQuery UI Dialog inside of an iframe

I'm developing a sp2013 app, which means it's using iframes. Specifically, it's a very large iframe which takes up most of the screen. At many points, I'm opening up jquery ui dialog windows. They are ...
Colin DeClue's user avatar
  • 2,234
38 votes
7 answers
58k views

Using !important in jQuery's css() function

I have a dialog with an overlay declared like so: .ui-widget-overlay { position: absolute; left: 8px; top: 9px; height: 985px !important; width: ...
Soatl's user avatar
  • 10.5k
23 votes
3 answers
31k views

How to combine two javascript FormData objects

I need to combine two FormData objects and post them using XMLHttpRequest. One of the forms contains file input. var formData = new FormData(document.forms.namedItem('form-ship')); var poData = new ...
u54r's user avatar
  • 1,787

15 30 50 per page