Skip to main content

All Questions

Tagged with
2 votes
1 answer
414 views

jquery-ui dialog not centering, close button strange behaviour

Two problems with jquery-ui dialog: it always open at the top left of the screen, I need it to be centered The close box (X) and the close button work only the first time the dialog is opened. When ...
1 vote
4 answers
8k views

Maximum width of dialog does not affect when width is set to auto

I'm trying to make the dialog use auto width and height, but only up to a certain width. But the maxWidth does not take affect till I manually resize the opened dialog. How can I automatically ...
1 vote
3 answers
4k views

Checked radio buttons not working right in jQuery modal dialog

I Have a registration form that allows the user to sign up as one of two types of users.The selection is made by selecting a radio button where depending on the radio button chose,will show different ...
33 votes
3 answers
85k views

jQuery UI dialog positioning : adjust position top by 20px -

I have a dialog that gets filled by an ajax call. I want to limit the max-height of dialog and also allow it to be scroll-able if this max-height is exceeded. The code below does exactly what I want. ...
0 votes
1 answer
1k views

Using JQueryUI Dialog, how can I remove a table row that is displayed using <A>

Can anyone assist with how to successfully use JQueryUI Dialog where I remove a table row that is displayed in the dialog by using a link or some other mechanism? Here is a visual of the code I'm ...
1 vote
2 answers
1k views

jQuery UI dialog - grab text from table DIV and show - only happens on first click

I'm trying to get some text in a table cell into a jQuery UI dialog dynamically, firing from a link in the table (one for each row). It works for each link once, but thereafter it stops. Here's my ...
0 votes
1 answer
750 views

Not able to close jQuery UI dialog when opened from a catch block

I have built a common error dialog function to get a common look and feel for my dialogs. I call that function from within the $.ajaxSetup.error function without issue. I have one button added ...
0 votes
1 answer
46 views

Weird background when using jQuery UI

When I use the dialog of jQuery UI I get a weird background picture/pixel Just wondering if you also get it to in your computer? jsbin.com/yikufeyixe/edit?html,css,js,output Thank you! The code ...
0 votes
1 answer
89 views

jQuery Dialog opens 2 dialogs and removes the element

I want to set multiple dialogs on some icons, but it will open 2 dialogs where one is empty and the other has the correct . Also it removes the icon which was clicked. var opt = { draggable: ...
0 votes
3 answers
2k views

Jquery UI Dialog box close event all possible way into one

Close event of dialog box(using the close button) in jquery can be handled by close: function(e, ui) { // do your thing... } I also tried closeOnEscape: false, but this option fails for me. ...
0 votes
1 answer
756 views

jqueryui dialog missing title bar, "x button" and surround dialog box

I assume this is a CSS error. I downloaded the jqueryui dialog example code, (which displays as advertised in the jquery site) store it in notepad and point to it with various browsers, but the ...
10 votes
5 answers
24k views

how to load a page with jquery ui dialog

is that possible to load another page with jquery ui dialog ? Like Dialog + Ajax Thanks
25 votes
5 answers
44k views

How to attach callback to jquery effect on dialog show?

My problem is that I do not know how to attach callback to the jquery ui dialog show. The show is actually an option: $( ".selector" ).dialog({ show: 'slide' }); I want to have a callback after ...
0 votes
1 answer
2k views

jQuery Dialog Open (more than once)?

I found some jQuery code online for the jQuery Dialog and it works great. The problem I am having is when I click on the linked image to open dialog it opens like it should but if I close the dialog ...
52 votes
10 answers
143k views

Close dialog on click (anywhere)

Is there a default option to close a jQuery dialog by clicking somewhere on the screen instead of the close icon?

15 30 50 per page
1 2 3
4
5
33