All Questions
361
questions
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
...
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: ...
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....
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 ...
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 ...
16
votes
2
answers
26k
views
Close all open dialog boxes? (JQuery)
How can I close all opened dialog boxes in jQuery?
The situation is next: I have a simple page without dialogs. It has some buttons what open it owns dialogs.
When I click on a button I need to close ...
16
votes
4
answers
30k
views
How to remove jQuery-ui dialog title bar?
I am trying to hide jQuery-ui dialog's title bar but keep the close button in the title bar visible. I have searched lots of post on stackoverflow like this one. In each post the title bar is hidden ...
13
votes
6
answers
3k
views
jQuery dialog losing focus on scrolling
I have a jQuery dialog below. I'm using jQuery UI 1.11.
$("#contactContainer").dialog({
closeOnEscape: false,
modal: true,
dialogClass: 'contactsFooter',
open: function(event, ui) {
$("....
12
votes
5
answers
20k
views
Resize jquery UI dialog with JS?
Even better would be if autoResize in latest branch would work as intended, but till then the question is simple: how to resize a dialog once it is created?