Skip to main content

All Questions

1 vote
2 answers
128 views

Find jQueryUI dialog size before opened

How do I find the height of a jQueryUI dialog before it is opened? Please see https://jsfiddle.net/kamLrn7v/, click "Size", then click "Open", and then click "Size" again. <div id="dialog"><...
user1032531's user avatar
  • 25.9k
3 votes
2 answers
9k views

Checking if dialog isOpen throws "cannot call methods on dialog prior to initialization" error

I'm using a dialog and checking it with the code that i found in the docs var isOpen = $( "#dialogName" ).dialog( "isOpen" ); $("#here").on("click", function(e){ if(isOpen){ $("#...
Inna's user avatar
  • 433
1 vote
2 answers
123 views

How to pass the button name as variable in jquery dialogue box

I want to call the default action of dialogue box button, so please tell me how to pass the variable in side the dialogue box initialization. Here is my try for that : Calling the dialogue box with ...
user3829086's user avatar
1 vote
2 answers
2k views

jQuery UI Dialog display only one time on page

I am using jQuery UI Dialog on the homepage with auto open set to true so it displays the popup as soon as the user comes to the website. here the development site http://dev.startingpointnh.org/ As ...
niceoneishere's user avatar
1 vote
1 answer
2k views

JQuery 1.11.2 cannot call methods on dialog prior to initialization; attempted to call method 'destroy'

I recently 'upgraded' from JQuery 1.3 (I know, I know, this project is 6 years old and I'm taking it over from another developer in hopes to get it done...properly) to 1.11.2, using JQuery Migrate v1....
Matt's user avatar
  • 115
0 votes
1 answer
500 views

jQuery UI modal dialog hangs before closing

When I click the "Yes" button on the dialog box, it will stay on screen for 5-10 seconds until the startProcess() function completes. Shouldn't the dialog close before startProcess() begins? I'd like ...
mdub23's user avatar
  • 1
1 vote
0 answers
260 views

jQuery Datepicker not open in jQuery Dialog after ajax call

may you help me with a problem i tryed to solve this whole afternoon? I have a jQuery dialog, which i am filling up with the results (a php-script) of an ajax call. In these results there is a ...
Tommay Webber's user avatar
0 votes
1 answer
96 views

Unwanted click event on clones of button

[Edit] Demo - http://jsbin.com/wedohawuyu/3/edit?output Open blue label on the left and put button to the green div, dialog appears, put something in there and click button. Drag next blue button the ...
Damian Lesniak's user avatar
0 votes
4 answers
789 views

Pickadate Time Selector Disappears on Click on JQuery UI Dialog

If you open a time picker in a jQuery dialog using the classic theme and try to use the time picker scroll bar to move down the time list, the time list disappears. You can see the issue here: http://...
Zendog74's user avatar
0 votes
1 answer
139 views

jQuery UI Dialog Box Position

I have a form that is taller than the screen height. When the user submits the form, a dialog box pops up and asks and confirms their password via AJAX. My problem is that the dialog box always ...
The Hawk's user avatar
  • 1,514
2 votes
3 answers
75 views

Close button X not removed

I'm using jqueryui dialog, I want to hide the X button there at the top. I tried the code below, but it didn't work. $( '.ui-dialog-titlebar-close').remove(); My JS: $(function () { $("#...
Abdul Moiz's user avatar
  • 1,327
-2 votes
1 answer
965 views

jQuery dialog opens with same selected option [closed]

I have two orders A and B. When I click on A, it opens up a dialog with a select option that defaults on blank but has Yes or No. When I click on B ,it opens up a dialog with a select option as well; ...
simplyzeke's user avatar
2 votes
2 answers
2k views

Hiding a close button from a Jquery Modal Window

Attached the code that I am using for Pop Up Modal window which generates two close buttons I am trying to hide the Close button generated from iFrame. jQuery(document.body).append('<div id="...
Man b's user avatar
  • 51
-4 votes
1 answer
565 views

Textarea is not getting focus when modal jQuery UI dialog has opened

When I try to click textarea with id "customNotepad" it's not getting focus when UI dialog has opened. However, I am able to resize the textarea. When I click the div with ID "Header" it's giving an ...
Satheesh Surendar's user avatar
0 votes
1 answer
506 views

Jquery ui multiple dialogs positioning after deletion?

I am using jquery ui Dialog box to create multiple notes in my Web Application. So there is a add-note button which clicks to open a note (dialog box at center). User can open multiple notes (dialogs)...
Siddharth Trikha's user avatar

15 30 50 per page
1
3 4
5
6 7
25