jquery-ui-dialog

Closing jQuery Datepicker When Closing jQuery Dialog

Hi First time here, and more of a web designer than programmer, so be gentle! ;o) Anyway, as the title suggests, I have a dialog window that's opened and within that, a datepicker. What I want it that, if the user opens the datepicker, and then clicks the dialog window's close button, the datepicker is also closed. Here's what I've got...

Can't drag jQuery UI dialog

I am using jquery 1.3.2 with jquery ui 1.7.2 and in one of my pages I can only drag the dialog when I click and hold on the text in the title bar? When I hover over the blank areas of the title bar title bar the icon changes to the move icon, however, when I attempt to drag via a blank area of the title bar I simply end up highlighting ...

UI Dialog Initiated wrong? Buttons not respoding anymore, after reload

Hello, I'm creating a vote tool where i use UI dialog. I have a problem with the UI DIALOG, when i re-initiate the dialog when i request an other vote-category. The dialog will not respond when i re-initiate it. I will try to explain the story, but this is not so important. The scripts below maybe looks a little bit complex, but finaly...

Howto update 'title in jQuery UI Dialog ?

Hello, I like to change the title from an UI Dialog after i have submitted a form in this UI Dialog. So in the callback-function after load i should suggest, but i've tried and googled without result. Has anyone an idea? Thanks! ...

custom css scope jQuery UI dialog themes

I am using multiple jQuery UI dialog themes on a single page, and i have bug. [jQuery 1.3.2] [jQuery UI 1.7.2] any ideas? Here screenshot (vs custom css scope) http://img237.imageshack.us/img237/6695/td3f.jpg alone on the page 1) vs native 2) ...

Close a jQuery UI Dialog from an element inside of it?

Here's a quick question that's probably simpler than I'm thinking. I'm populating a jQuery UI dialog with the resulting html from an $.ajax() call. In certain cases that html includes a button that when clicked, I want to close the containing dialog. Assuming that I don't know anything about the element that was specified to be the ...

how to make jquery ui dialog not resizable

anybody knows how to make the jquery dialog not resizable ? I call it like this atm : var elem = $("#mydiv"); elem.dialog({ modal: true, title: 'title', buttons: { Ok: function() { $(this).dialog('close'); } //end function for...

Automatically resize jQuery UI dialog to the width of the content loaded by ajax

I'm having a lot of trouble finding specific information and examples on this. I've got a number of jQuery UI dialogs in my application attached to divs that are loaded with .ajax() calls. They all use the same setup call: $(".mydialog").dialog({ autoOpen: false, resizable: false, modal: true }); I just wa...

JQuery UI Dialog Issue: Close removes the div

I want to show a popup screen on my page using JQuery UI Dialog widget. To implement this I have a <div class="popup-placeholder"> on my page. Actually there are more than one on the page (If this makes a difference to the solution) On click of a button, I am initializing the dialog and 'open'ing it. The initialization of the popup is ...

ASP.NET MVC Dialog Stumped

I am using jQuery's UI dialog to open a basic form. I want to submit that form and close the dialog. I am having trouble. The parent window opens the dialog (which contains a partial view) from click and form is submitted, they the browser opens the partial view in the browser. I want it to do the form work and close the dialog. Is th...

Jquery Dialog - div disappears after initialization

JQuery Dialog is giving me lots of pain lately. I have the following div which I want to be popped up. (Ignore that the classes do not show the double quotes in the syntax) TABLE class=widget-title-table border=0 cellSpacing=0 cellPadding=0> <TBODY> <TR> <TD class=widget-title><SPAN class=widget-title>Basic Info</SPAN></TD> <TD ...

How do i implement a login view as a jQueryUI dialog box in ASP.Net MVC

I've seen a few example of similar things and i've also looked at the KiGG application which also uses a dialog box to display the login box. I'm pretty new to MVC but making some good progress and i'm looking to add a bit of candy for a demo i need to perform next week. Does anyone have an simple example or could describe the steps i n...

Ensure jquery progress dialog is shown for at least some minimum time

I'm using a jquery ui dialog to let the user know that his request is in progress while the client is processing some data. However, as you all know, it takes a hell of a lot longer for ie to process than firefox. What's the best pattern for making sure that the progress dialog is displayed for at least some minimum amount of time, so ...

jQuery UI dialog + Ajax fails with IE 6-7-8

hey i have problem with jQuery-ui Dialog when using ajax $.ajax({ url: "folders.php", cache: false, data: { 'do' : 'Ajax' ,'_a' : 'ChangeMoviesFolder' ,'MovieIDS' : Mov...

Removing jquery imgareaselect plugin from element

So im using this neat jquery plugin http://odyniec.net/projects/imgareaselect/ It works fine, but i'm firing it with jquery ui callback function (dialog), and i need to remove the selection after dialog closes. function initialize_selection() { $('#image_area').imgAreaSelect({ x1: 10, y1: 10, x2: $('#image_area').width()-10, y2: $('#ima...

jQuery Dialog Modal Loses Style Sheet on Second Load

Hello all, I'm working with jQuery UI and the dialog plugin. I have a Manager Response form that appears in the dialog box that appears when a user clicks on a certain link. What happens is I acquire the ID for that response, do some processing and send back the view that I insert in to a for the dialog box. It works fine the first ...

Problem for opening jQuery dialog box in ie8

Hello, I am using jQuery dialog box and having problem to open it in ie8 in other browsers it will opens but having problem in ie8 only. Also I have one more problem some times ajax request is not working in my dialog box on any browser. code. // Dialog $('#login_div').dialog({ autoOpen: false, ...

Mulitple ui-widget-overlay with multiple dialog boxes

I've got this - $(function(){ var dialogOpts = { autoOpen: true, height: 400, width: 600, position: ["center", "center"], modal: true, closeOnEscape: true, }; $("#contact").dialog(dialogOpts); $("#why").dialog(dialogOpts);...

jQuery UI Dialog and gif + text display

Hello, What is proper way to display a gif image into the dialog with text with nice formatting etc.. So far here is my code: Copy code var $dialog = jQuery('<div></div>').html('<p>Sending your message...</p><img src="../images/AjaxWait.gif"/>') however by doing this the gif is not aligned nicely to the text, etc What is the best way ...

Remove filter attribute after jQuery UI dialog is finished opening

Using jQuery UI 1.8rc3 combined with the new jquery.effects.fade.js code, I've been able to finally apply fade-in and fade-out effects to opening the UI Dialog widgets. Hooray! $dialog.dialog({ show: { effect: "fade", options: {}, speed: 150 } } This works great - unfortunately, there's the known IE7 & 8 bug where the ClearTy...