1
vote
2answers
30 views

Disable buttons in Jquery UI dialog?

I use a jQuery UI dialog that is made from HTML supplied from server. Code: $("<div id='pastedial'>" + result.htmlPasteDialog + "</div>").dialog({ maxHeight: "85%", ...
1
vote
3answers
60 views

Dedicated event handler for close (x) button in jQuery UI Dialog

Is there a way to wire into the close (x) button on a jQuery UI Dialog, such that you can provide a dedicated event handler? Using the "close" or "beforeclose" event does not work because if you have ...
0
votes
1answer
16 views

JQuery UI dialog - How do I add buttons from an object

I have this code: var bt = {} bt = { text: "OK", click: function () { // Deletefunction here... $(this).remove() } }, { text: "Cancel", click: function () { ...
0
votes
2answers
36 views

how do I add an extra Dialog Widget close button to a jquery ui Dialog window

the standard code to close the window with the X on the top right is this: <button class="ui-button ui-widget ui-state-default ui-corner-all ui-button-icon-only ui-dialog-titlebar-close" ...
0
votes
0answers
46 views

jQuery UI, dialog buttons?

iam using jQuery ui dialog widget and im now wondering if there is possible to hide/show a button? My code looks like this atm: $(document).ready(function() { $( "#dialog" ).dialog({ ...
1
vote
1answer
19 views

How to configure JQUERY UI Dialog as a new window ?

I have a JQUERYUI Dialog in a popup page. I want this Dialog to be opened as a new window ( like window.open) Is this possible ??
0
votes
1answer
59 views

When opening jQuery dialog the page scrolls

I have rows of elements with a edit button that shows on hover. I'm trying to open my jQuery dialog window next to the element that you click on the edit button: So far so good. Here's my ...
2
votes
1answer
33 views

Multiples effects in dialog show/hide

Using dialog it is possible multiples effects at same time? For example, in show, bounce and highlight. I tried {effect: 'bounce', duration: 550, effect: 'highlight', duration: 550}, but only the ...
1
vote
1answer
212 views

How do I get Bootstrap Tour to work with a jQuery dialog?

Basically I can get Bootstrap Tour working with the most basic example, but when targeting an element in a jQuery dialog the highlight covers up the element. var t = new Tour({ backdrop: true }); ...
-1
votes
0answers
59 views

Reference error in jquery for no reason

I have query string that I want to append to a link but I'm getting the issue of ReferenceError: invalid assignment left-hand side _createTitlebar: function() { var uiDialogTitle; var ...
0
votes
1answer
44 views

Switch Case inside JQueryUI Dialog Option:Button

what i want to achieve is to show the buttons in my JQueryUI Dialog based on the condition i want. How to do it? this is what i have done so far but it is not working. Any problem with my code? Any ...
0
votes
0answers
31 views

Jquery UI Dialogs: auto-change height on a css breakpoint

I have a JQuery UI dialog, made resposive thanks to solution proposed here: Responsive jQuery UI Dialog ( and a fix for maxWidth bug ) With this script, Dialogs auto resize their width if window's ...
0
votes
0answers
43 views

jqueryUI determining side to place arrow on dialog box based on position

I'm creating a dialog box box and setting the position like so: $('#modal').dialog('option', 'position', { my: "left+20 middle", at: "right middle", of: $(this), collision: "flipfit" ...
1
vote
1answer
52 views

Jquery dialog, use custom html element as the title

I have an HTML form that I want to use several times in my site, so it's packed in a view and everytime I want to use it I load the same view. Sometimes I am using it in a jquery dialog widget that is ...
0
votes
0answers
30 views

Multiple jQuery UI Dialogs with shellinabox inside one (as an iframe?)

I want to put a console inside of a (nonmodal) jQuery UI dialog on a page with multiple dialogs. Using an iframe to enclose a shellinabox console almost works: function MakeDialog(title){ ...
0
votes
1answer
19 views

jQueryUI Scrolls to top bug

I am at the bottom of my page and click a button to open my modal dialog. The dialog pops in the center of my screen like it should, BUT the document scrolls to the top of the page! I don't want the ...
1
vote
0answers
158 views

Get value from dynamically created select field within jquery ui dialog

$(".controls header").on('click', '.edit-button', this, function(event){ arrayOfSelects = arry('store the values here, or maybe somewhere else'); dialog = ''; // this is where dynamically ...
2
votes
3answers
60 views

jQuery: :-selector vs class-selector

jQuery-ui dialogs can be selected using either $(":ui-dialog") or $(".ui-dialog"), but the elements of the repective sets being returned are not equivalent. For instance ...
1
vote
0answers
63 views

jQuery UI Dialog with form fields - iOS bug/issue

Experiencing an issue with jQuery UI Dialog, form fields and iOS. This issue is not specific to my code, but can also be seen at: http://jqueryui.com/dialog/#modal-form To recreate the issue (in iOS ...
1
vote
1answer
106 views

animated multiple jquery ui dialog box on click

I have jquery ui dialog box, and I want to Animate multiple dialog boxes on single click. But it animate only inner boxes div inside the complete dialog box.anyone let me know how to do this ? I've ...
0
votes
1answer
112 views

JQuery how to instigate modalbox (dialog) on button click

I have coded with some help a drag and drop program.. Everything works fine, i just need help to implement a dialog box (using JQuery UI 1.10.3) to open instead of default window popup box when ...
1
vote
1answer
48 views

jQuery UI Dialog moves my DOM content

I had the problem that my jquery ui dialog was only opening once, So I tried this: /* Prepare */ $('.steps > div.step-1 .bicicleta .attributos').dialog({ autoOpen:false, ...
0
votes
0answers
57 views

JQuery Modal Dialog not disabling page IE9

I was using jquery-ui-1.7.2.custom.min.js on my page, and when displaying a modal dialog it would disable the page perfectly making you "Cancel" or Escape out of the dialog to re-enable the page. ...
0
votes
1answer
62 views

Centering jQery Modal Dialog Popup

Im trying to show a modal dialog/popup when users visit my homepage. I am able to show the dialog, however it does not appear in the center of the screen. I am importing these files, in case that is ...
0
votes
1answer
78 views

how to extend jquery UI dialog button with parameter?

This is a sample code i used for creating a jquery Dialog. Im creating JQuery dialog and extending it. function dialog_box(dynDiv, rootTemplate) { var dialog_buttons = ...
0
votes
0answers
59 views

Dialog pop up box not working

so I have a form that pops up when a button is pressed. I want to make a second form, so im making a new button. I have the button on my site, and copied this dialog code from the first button, but ...
1
vote
1answer
36 views

Is there a way for ul to stretch out of the modal

So I have a combo boxes done with ul/li which open when you click on an anchor. My issue is that it's part of a modal dialog (jquery-ui) and the dialog itself has only 2-3 elements so it's rather ...
2
votes
2answers
67 views

Weird issue with jQueryUI modal

I'm having a weird issue with the jQueryUI modal (the dialog plugin that can include modal functionality). I have a dropdown list with a modal on one of the options. Now, the modal opens up just fine, ...
1
vote
0answers
166 views

JQuery Dialog Box auto scrolling to bottom

I have a dialog "pop up" box that loads pictures and information, and whenever i launch the box, the page automatically scrolls all the way to the bottom and wont let me scroll back up until all the ...
0
votes
1answer
58 views

How to refresh only button text in jquery ui diaolog components

I have jQueryUI dialog(popup). There are some controls on it. I will enter data, then I will click btnFindPerson and will refresh btnAddNewPerson text. But, btnAddNewPerson text could not ...
0
votes
0answers
50 views

dialog and tooltip on TD element sometimes interfere with each other

This might be a common issue but it's my first run-in with it. TD has a tooltip but also a dialog that is opened in its click eventhandler. Sometimes the click interferes with Tooltip and freezes the ...
0
votes
1answer
267 views

jquery dialog refreshes page

Whenever I click on my button to open a jquery ui dialog box, it will briefly display (less than a second) and then the page will refresh. I had this code working 3 days ago, but when I came back and ...
0
votes
1answer
172 views

Jquery UI dynamic created button not fired the event

I had created two buttons using Jquery UI and attached the following events to it. function testconfirm() { alert( "testconfirm"); } function testCancel() { alert( "testCancel"); } Only for ...
0
votes
0answers
49 views

jQuery dialog silently does preventdefault?

I have a set of radio buttons, and on some of those I want to alert a user upon clicking on them. I'm trying to do it via a jQuery dialog box, but it seems to fail. The code is: <input ...
0
votes
0answers
55 views

Showing Dialong with Effects Depending on Menu Selection - jQuery UI

I am using both jQuery UI Dialog and Menu. I am trying to have a dialog open and display a different effect depending on the menu choice. The dialog opens, but no effects happen. I am new to both ...
2
votes
1answer
128 views

Styling a JS Alert that pops up inside a jQuery UI Dialog

Please see my Sample Fiddle... I wanted a JavaScript Alert to pop up as a jQuery UI Dialog because I want to style it. I got that working, thanks to some help from @asifrc. Now, I'm trying to style ...
1
vote
1answer
265 views

jQuery modal dialog not centering with position flag present

I have a site here... I didn't create a fiddle because I'm not sure how to replicate the issue with ajax. When the site loads, there's an auto-popup that brings in an ajax request. It's way off ...
0
votes
0answers
37 views

autoOpen: true, but not pulling ajax request into modal…

I have a site here... I would have included a fiddle, but I'm not sure how to replicate the ajax error. When you arrive on the page, a modal pops up, but there's no content and it's supposed to ...
0
votes
1answer
178 views

jQuery dialog modal being called twice on click

So... I have a site here... The jQuery dialog is sending an ajax request to here. There's an auto-popup when you arrive on the page. Please Dismiss that one. When you click on this image... ...
0
votes
1answer
351 views

jQuery dialog box opens on click, but autoOpen not working

I have a site here... When you arrive at the site... autoOpen: true, is working, but it's not loading the ajax request (jquery-ajax.html). But, if you click the button at the top-left, that says ...
4
votes
1answer
35 views

What's the Object equivalent to an Array position in jQuery UI?

The jQuery UI Dialog widget has a position option that can be an Object, String, or Array (with the String & Array forms deprecated). The Array can contain an x, y coordinate pair in pixel offset ...
0
votes
0answers
27 views

any special consideration when adding more than one jQuery UI popup?

Is it allowed to have more than one popup on the page? I don't mean open simultaneously, but rather a different set of inputs? I can get one to work, but not the second. They're both instantiated in ...
0
votes
1answer
63 views

Performance-Problems with jquery ui dialog

a lot of users of my website report problems with jquery ui dialog. Some IE Users have message that script runs to long time. And some Opera users tell that dialogs all popup on loading the website ...
0
votes
1answer
38 views

How to recenter a dialog vertically?

I'm working on a mobile version of a website and I have a jQuery UI dialog sized at 100% of the screen width and height with text inputs and a textarea in it. When the user presses on an input, it is ...
1
vote
1answer
392 views

How to open the same jQuery Dialog from dynamically and non-dynamically created controls

I need to open the same jQuery dialog from different input text controls (including those that have been created dynamically) This is what my page displays when it loads for the first time. When the ...
0
votes
2answers
153 views

Proceed with redirect after dialog confirm item clicked

I'm using the jQuery Dialog box to confirm a link click, but somehow the dialog does not wait for the correct confirmation before proceeding with the default event handler. What am I missing? Here is ...
0
votes
0answers
70 views

Why won't jQuery click event fire?

The following jquery code snippet will not fire on click. Can you help me figure out why? StackOverflow says I need more details. I apologize. I can't think of any further relevant details. The code ...
0
votes
1answer
48 views

How can i add background color to button area only?

if i add background:#e7eef9; to jQuery("#div_element").dialog, this will be appended to whole dialog. How can i append this to buttons area only? function test(buttonEl) { ...
0
votes
0answers
36 views

Firefox always shows dialog 'top' instead of 'center'

I'm creating a jquery dialog with position 'center'. This works perfectly in Chrome and IE, but not in Firefox. In FireFox it always pops up at the top middle of the page. When I check the value of ...
1
vote
0answers
32 views

Can jQuery UI Dialog instance be saved and reopened?

I am wondering if whether a jQuery UI Dialog instance can be saved to a file/database in such a fashion that it can be restored to it's original state later? I mean something like this: var ...

15 30 50 per page