Skip to main content

All Questions

Tagged with
42 votes
24 answers
145k views

jQuery UI dialog box not positioned center screen

I have a jQuery dialog box that is meant to position in the middle of the screen. However, it seems slightly off-center vertically. Here is the code: $('#add_box').dialog({ autoOpen: true, ...
0 votes
1 answer
42 views

JQuery UI Dialog Stacking Order With a Regular Div

I have a menu bar at the top of my page with dropdown links. I also have a draggable JQuery Dialog window with some contents. Problem is I do not want the dialog window to obstuct the menubar and ...
152 votes
24 answers
360k views

How to implement "confirmation" dialog in Jquery UI dialog?

I am try to use JQuery UI Dialog to replace the ugly javascript:alert() box. In my scenario, I have a list of items, and next to each individual of them, I would have a "delete" button for each of ...
0 votes
1 answer
484 views

.ui-dialog button.ui-button.ui-state-hover .ui-button-text{color:black} to jquery

I was trying all day long without success to convert CSS to jQuery. CSS code : .ui-dialog button.ui-button.ui-state-hover .ui-button-text{color:black} I thought it could be something like this. ...
0 votes
1 answer
248 views

IFrame in jQuery UI dialog sometimes doesn't load content in Chrome until dialog is moved or resized (but works in FF and Edge)

This is a truly odd one. I have a site which makes heavy use of jQuery UI dialogs to then show an iframe. The iframe loads content from the site itself, so there are no origin issues. Works ...
35 votes
10 answers
172k views

jQuery Dialog Box

Im trying to do a dialog box with jquery. In this dialog box Im going to have terms and conditions. The problem is that the dialog box is only displayed for the FIRST TIME. This is the code. ...
0 votes
1 answer
275 views

How to respect Content Security Policy when using JQuery UI dialog Widget?

I'm setting up CSP directives on an existing project that uses the JQuery UI dialog widget (https://api.jqueryui.com/dialog/). Using CSP, I do not want to allow the use of inline style. Unfortunately, ...
1 vote
2 answers
7k views

How to run TinyMCE in jQuery modal dialog?

What I want to do is: If the user clicks on/is focusing a small textarea (one of many) a dialog window with the tinyMCE editor shall open. Well the only working example I found was this but I couldn't ...
3 votes
1 answer
463 views

jQuery UI dialog is not a function when re-calling it

I have this function to open a jQuery UI dialog: function pop_up(div, titulo) { $("#" + div).dialog({ autoOpen: false, show: "explode", hide: "explode", ...
0 votes
1 answer
410 views

Dynamic jQuery UI dialog callback function problems

I am having issues using the jQuery UI dialog modal, and trying to pass in a dynamic name/value to be used as the callback function to execute (as well as arguments) I have a function that calls the ...
1 vote
2 answers
5k views

jqueryui opening multiple dialogs; should only open one

I have a feed with comments and want to allow users to delete a comment. The code below allows users to click on an image and a dialog box appears that alerts users of the deletion. Right now, this ...
9 votes
5 answers
23k views

jQuery dialog open and automatically close after 3 seconds

I am trying to open a jQuery dialog with no buttons to display with some animations and then automatically stay there for like 3 seconds, then close. Here is a jsfiddle of what I think should work, ...
5 votes
2 answers
9k views

jQueryUI Dialog positioning after vertical scrolling

I have the following jqueryui dialog: $("#dialog").dialog({ bgiframe: true, autoOpen: false, height: 420, hide: 'slide', modal: true, buttons: {...
0 votes
1 answer
172 views

Multiple dialog function inside loop

i try to make a multiple dialog form from some data in the database but when i clicked the button, the dialog form not showed i use PHP increment numeric to differentiate the attribute id then i use ...
32 votes
2 answers
49k views

blockui over jQueryUI modal dialog

I can't make BlockUI work over a modal dialog. I tried to look after z-index issues, but without success... In my web page, here is the head : <script type="text/javascript" src="http://ajax....

15 30 50 per page
1
2
3 4 5
33