All Questions
361
questions
0
votes
2
answers
142
views
$(this) not set in the jQuery UI dialog "open" option
At the bottom of a word game there are 4 buttons, which open jQuery UI dialogs with certain words from the game dictionary:
I am trying to simplify the game code by creating the following function:
//...
0
votes
1
answer
65
views
JavaScript doesn't apply on jQuery UI dialog
$("input, select, textarea")
.addClass("ui-widget ui-widget-content ui-corner-all")
.css({
padding: ".2rem .5rem"
});
So, I use the ...
0
votes
1
answer
53
views
Why are the changes immediately reset when a dialog window is opened?
I want to open a dialog that loads the code of another page. This works so far.
Now I want to set a select of the loaded dialog to one of its options and then disable (lock) it. But every change I ...
0
votes
1
answer
44
views
How can I close a JQuery dialog using a pre-defined function?
I want to make my dialog close after the following function:
function decide(category, choice, price, bool) {
data.push([category, choice, price, earn]);
}
I have tried playing around with JQuery's ...
0
votes
1
answer
269
views
Changing jquery UI dialogue titlebar HTML from span to H2
I am using a JQuery UI dialogue and it renders the below HTML. I want the span tag to be replaced with H2 tag, do we have any way to do this
<div class="ui-dialog-titlebar ui-widget-header&...
3
votes
0
answers
145
views
jQuery load() has 200 response code, but desired contents not loaded in selected element
In one JSP file I have an element:
<div id="mydialog"></div>
I have an anchor tag <a href='#' id="#newentry">
On the click of the anchor tag I have some jQuery ...
0
votes
0
answers
128
views
Input fields of jquery dialog box freezes
I have a dialog box with a button and checkbox on it. On open function of dialog box i have following code:
$('#dialog1').dialog({
modal: true,
open: function (event, ui) {
$('#...
0
votes
1
answer
507
views
Jquery Dialog not loading in aspnet MVC
i want to be to display child records when i click a button . The data is displayed as a table.
I have created a partial view that will display the records.
I have created a controller action method ...
0
votes
1
answer
285
views
When the jQuery dialog is on I do not want the user to interact with the background
If the user clicks an external link, the jQuery UI dialog appears with "ok" and "cancel" buttons and when they hit "ok" it should take them to the external site.
Everything is working as expected, ...
0
votes
2
answers
151
views
JQuery - How to target correct button in multiple JQuery cloned Dialogs?
I am cloning multiple instances of a JQuery Dialog:
$('#button').click(function() {
$('.dialog').clone().appendTo('body').removeClass('dialog').dialog({
width: '300',
height: '200'...
0
votes
2
answers
1k
views
How to replace window.alert('') with jQuery UI dialog - merging two scripts
I am looking for some help with merging two jquery scripts. Both attached examples are working with basic functionality, but I do not have enough experience in order to combine them into one script. ...
0
votes
1
answer
153
views
Scrollbar freezing when there is lots of data in jQuery dialog
I have a jQuery Dialog box which is populated by an AJAX call to a controller action in ASP.net MVC. This AJAX call returns more than 13,000 rows of data which is bound to a table inside the dialog.
...
-5
votes
1
answer
1k
views
Is there a Vanilla JS alternative for the jQuery UI Dialog widget [closed]
Is there a Vanilla JS replacement for the dialog widget provided by jQuery UI?
It should at least allow to contain arbitrary markup, so alert or prompt are not an option.
0
votes
1
answer
380
views
jQuery UI - Prevent dialog from dragging above div
Is there a way to prevent jQuery UI dialog from going above or below #top div? I'm not looking for z-index solution, but rather something like offset from the top. In this case dialog should be unable ...
2
votes
1
answer
64
views
Datepicker on jQuery UI dialog fails on second opening of dialog
I have a static page with a link that opens a modal Dialog that loads a sub-page. The sub-page includes an input with a Datepicker widget.
When I first open the Dialog, the sub-page loads and the ...
1
vote
1
answer
763
views
Changing Jquery UI Dialog Button to a form submit button
I'm trying to use one of the Jquery-ui Dialog buttons as a form submit button. I want to use the submit button because it triggers HTML5's form validations where form.submit() would not.
Currently, I'...
0
votes
1
answer
1k
views
Jquery-ui Tabs Open dialog box on tab click (stop code)
This is my code. I am trying to stop the clicked tab from loading until i get a response from the dialog box. Also if i click cancel, i wan to return to the previously selected tab. currently the way ...
2
votes
2
answers
3k
views
Jquery modal not working properly
I am trying to use jquery ui modal but it doesnot working as my needs ie, i want to show the data only inside the modal but here it shows before i clicking the button .
function pop_up()
{
var ...
0
votes
0
answers
198
views
How do I manually close a jquery-dialog?
This is my pop up:
I make a popup with javascript but I dont know how to close it, I already make a close button like this [x], but I want make another close button when user click "no" ...
1
vote
1
answer
910
views
jQuery-ui dialog don't show on click event
My jQuery-ui dialog don't show when clicking on a submit button
html :
<input id="pdfsub" type="button" name="pdfsub" value="PDF">
Javascript
$(document).ready(function() {
$("#...
0
votes
1
answer
262
views
Open Jquery-ui dialog in another <script> tag
is it possible to initialize and open the jquery-ui dialog in a different "script" tag , like this :
Specification : Working with EJS (Nodejs express templates)
<script>
$(document)....
0
votes
1
answer
1k
views
Initializing and opening Jquery-ui dialog
i'm trying to load a jquery-ui dialog when the page loaded .the page content is loading but the dialog doesn't show.
<script>
$(document).ready(function() {
$("#loginfailed")....
0
votes
1
answer
244
views
Can not open jQuery UI dialog multiple times - test case included
I have prepared a simple test case demonstrating my problem -
I use a jQuery UI button to open a jQuery UI dialog:
However this works only once. On subsequent button clicks I get the error:
...
1
vote
1
answer
1k
views
jQuery UI setting absolute dialog position does nothing
I want to set the absolute position (x and y) of a jQuery UI (1.12.1) dialog. By all accounts I should be able to do that like so (although the jQuery docs inexplicably do not mention this syntax, ...
1
vote
1
answer
458
views
jQuery $.ajax and jQuery UI dialog: Uncaught TypeError: Illegal invocation?
I am trying to send an AJAX request when I click a jQuery UI dialog Save button and this is how I am doing it:
$(function () {
var comment_dlg = $('#add_comment_dialog');
var quote_id = $('#...
3
votes
2
answers
746
views
Mysterious mouse event closes jQuery UI dialog
This is obviously a SSCCE.
So we are tasked with writing the front-end of a missile launch control system. We opt for a Spartan layout given that this is deadly serious: just a text input box and a ...
3
votes
1
answer
1k
views
create a new node in jstree using jquery dialog
I want to create a node in the jstree grid, when clicking create i want to popup a jquery dialog box in which i want to enter the node name and save it. How to implement jquery dialog popup with ...
0
votes
1
answer
261
views
JQueryUI Dialog: 'auto' width does not consider vertical scrollbar
I have a JQueryUI Dialog with the width property as 'auto'. Everything works fine except in cases where the content extends beyond the dialog's height: A vertical scrollbar appears (as is intended), ...
1
vote
1
answer
339
views
How to use jQuery dialog() instead of confirm() from within C# code?
I am a Frontenddeveloper without further knowledge of C#, so please excuse my maybe stupid question. I am currently trying to use jQuery UI Dialog to replace the common JavaScript alert() and confirm()...
1
vote
0
answers
89
views
Why server side code is not firing from JQuery dialog in ASP.net?
I am using Jquery-ui version v1.12.1
I have a button in my form. Once it click, that will make a jquery-ui dialog box. Then I have a one textbox and one asp:button.
when user click the button, it'...
0
votes
1
answer
1k
views
Transitioning from Kendo UI Window to JQuery UI Dialog
Looking for advice or help to remove Kendo UI Window code and replace it with JQuery UI Dialog. As we transition from ASP.Net MVC to a ASP.Net Core 1.0 MVC site, management has decided to do away ...
0
votes
1
answer
2k
views
jquery dialog - want radiobutton inside popup to value to input
I want to use jquery dialog to choose radio button and after choose it will .val() to my input but why it did not work? What's wrong with my code
I'm not sure that I use onchange event for radio ...
0
votes
2
answers
829
views
Could jquery's dialog modal change page inside modal?
Hello I try to make the jquery dialog popup(modal) can change to other page in the popup (load other page in exist popup)
but I don't know how to load the test3.php inside modal by coding in test2....
1
vote
1
answer
500
views
jQuery UI dialog with asp.net - Object doesn't support property or method 'dialog'
I have an aspx page using a master page that is giving me issues when I try using a jQuery UI dialog.
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<link ...
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) {
$("....
3
votes
3
answers
3k
views
jQuery UI modal dialog: button icons do not appear
My modal dialog works perfectly (meaning I can adjust every option), except that the button icons option has no effect. Here's the code I'm using to generate the dialog:
$('#alert_div')
.attr("...
0
votes
2
answers
608
views
How to remove extra space inside of jQuery UI dialog box
here is my dialog box
I want to delete or remove the extra spaces inside of dialog box. How can I achieve it?
for extra details here my HTML
<div id="beneficiaries_window">
<?php
$...
1
vote
1
answer
24
views
Appending to jquery dialog apparent bug -- any workarounds?
When appending to a jquery dialog, it automatically resizes the dialog to fit the new content.
That's great.
After moving the dialog, this functionality breaks.
That sucks.
As you can see in this ...
0
votes
2
answers
35
views
Alter behaviour of jQuery UI Dialog
I have a dialog defined with jQuery UI in this way:
this.dialog = $.dialog({
title: 'Title',
open: function () {
//do something
},
close: function () {
//do something ...
0
votes
1
answer
424
views
image not refreshing in jquery Dialog, works fine in Google Chrome
I have a weird issue regarding jquery Dialog. I am using Jquery dialog for showing jcaptcha image. I have a refresh button on dialog. On click of a link, this captcha dialog should open. My issue is, ...
0
votes
3
answers
62
views
My Jquery UI dialog doesn't fire if not preceded by an alert
My problem is I have a Jquery UI dialog which not fire if not preceded by an alert.
The div for my dialog at the beginning of my page :
<div id="dialog-confirm" title="Modification de la date ...
2
votes
3
answers
6k
views
How to add extra buttons to jQuery dialog title bar
How to add extra button to jQuery dialog title bar
I want to add extra buttons to jQuery Dialog Title Bar. I want to add minimum 5 Buttons to jQuery Dialog Title Bar. Maximum "N".
Buttons like as ...
0
votes
1
answer
1k
views
Create multiple instance jQuery UI dialog on button click
I want to create multiple instance jQuery Dialog UI. I also want to create the multiple clone of each jQuery Dialog UI with same Title.
If I click on Open Dialog 1, then Basic dialog 1 will open. If ...
1
vote
0
answers
249
views
Jquery UI Dialog not centered vertically
Question about Jquery UI Dialog.
Got function:
function showOrderDetails(orderId) {
$("#orderDetailsDiv").dialog();
}
Function is called like this:
<a href="javascript:showOrderDetails(...
0
votes
1
answer
177
views
jQuery UI dialog not appearing Squarespace adblock detect
I have created an AdBlock detector, and my jQuery dialog does not seem to be working. Note: the "adblock" variable is already referenced. Also, I am using Squarespace, which is why I had to add the ...
2
votes
1
answer
50
views
jQuery draggable position unchanged
I have four draggables next to each other and I want it to be so that once a draggable is remove from the list, the rest would stay in place.
<div class="draggables">
<div ...
0
votes
0
answers
810
views
Jquery dialog issue in IE11
I have this piece of code to open a popup using jquery UI.
$('#myId').dialog({
autoopen:false,
height:"550",
width:"90%",
closeOnEscape:true,
modal:true,
show:{
effect:"...
2
votes
1
answer
560
views
No jumping drag/resize Dialog in scrolled window/area?
How to normal resize & drag UI Dialog in scrolled window/area?
Is top/left correction of Dialog really necessary? (how to correct coordinates that both works)
How about fixing Dialog? What ...
0
votes
0
answers
44
views
Dynamic Jquery UI Dialog Not Working In IE
I've written a function that dynamically creates Jquery UI dialogs that looks like this.
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...
1
vote
1
answer
429
views
Access jQueryUI Dialog buttons upon creation
How do I access jQueryUI Dialog buttons upon creation and get their size? As a workaround, I could do so when it is opened.
http://jsfiddle.net/1ueho4tq/
var $button1;
var dialog = $('#dialog')....