jquery-ui

jQuery: how to display progress for an indeterminate process?

The documentation on the jQuery progressBar says that this UI widget is not suitable for displaying progress of indeterminate length. It recommends one of two alternatives: - an indeterminate progressBar, which is "coming soon". - a spinner animation I think a jQuery spinner is a textbox with up/down arrows to inc/dec the value. In ot...

jQuery: save Portlets positions

Hi, I'm using jQuery UI to change the order. In my application I need to add random number of statements one after the other, then reorder them (if I wish to) and then save to the server. Adding statements as portlets is ok, but how would I save the positions? Thanks Macha ...

jQuery Dialog posting of form fields

I'm trying to do some data entry via a jQuery modal Dialog. I was hoping to use something like the following to gather up my data for posting. data = $('#myDialog').serialize(); However this results in nothing. If I reference just the containing form instead myDialog then I get all the fields on the page except those within my dialog....

jQuery UI dialog and ASP.NET Ajax Library hover conflict

I get an error when using a jQuery UI dialog with the ASP.NET Ajax Library beta 0911 in an MVC app. To reproduce it create a new MVC app and change the head to the following: <head runat="server"> <title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title> <link href="../../Content/Site.css" rel="stylesheet" type="text/cs...

jQuery tabs sort

Hi, I'm using jQuery tabs, and trying to save the positions of the Tabs (and of course the content in the tabs). Could you please suggest me a way to do the same? Regards ...

JQuery UI Tabs callbacks not working

Hello, I have been trying to get this working for the last 7 hours so please excuse the slight tone of frustration. I have successfully implemented a nice set of jquery ui tabs that load their content via ajax. The content loaded via ajax features a form. I wanted the first field in the form (which has an ID of #title) to be focused a...

JQuery UI dialog - *Dialog not a function* error

I am developing a site using pinax. In one of my templates I am trying to open a simple jquery dialog box. However I keep getting the "Dialog not a function" javascript error. I am using jquery 1.2.6 and jquery-ui 1.6. My javascript and HTML are as follows: <html> <head> <link type="text/css" href="/site_media/smoothness/ui.all.css" re...

Dynamically loading jQuery and extensions

Hi everybody, I'm trying to encapsulate a javascript that I built using jQuery, jQuery UI, jQuery Form and xmlDom. I want to be able to send to my client just one javascript that references the other ones, including just a small piece of js for options settings. Find below an example: <script language="javascript"> var myOptions = { ...

How to prevent disposing a jQuery modal dialog

i have such a function when it is invoked a dialog is created, after the dialog is closed and the button is clicked again, the dialog doesn't showup $("#Button").click(function() { $.ui.dialog.defaults.bgiframe = true; $("#box").dialog({ modal: true, ...

jquery dialog close function

hi. i want to refresh the parent site when i close my jquery dialog. i look at the jquery site and the close event but i am not sure if i get it. so i would appriciate a litle help on the way. from what i figure sofar i have to do like this. this is my code for the dialog i use. $("#dialog").dialog({ height: 700, width: 600, closeOnEsc...

refresh parent page from jquery dialog.

I want to refresh the parent page when I close my jQuery dialog. this is the code I use for my dialog. I tried top.opener.location but it did not do nothing but put me on top of the page. $("#dialog").dialog({ height: 700, width: 600, closeOnEscape: true, title: 'View', close: function(event, ui){ to...

JQuery Colorbox

How can I show Colorbox on page load without event binding? In a more simple term I would like the Colorbox to load immediately on page load. this is the Colorbox which I am currently using http://colorpowered.com/colorbox/ ...

Why does jquery ui ajax loaded tabs interfere with other ui methods?

I am trying to use jquerys ajax loaded tabs, along with other ui plugins such as accordion and dialog box. Everything will load fine via $(document).ready function, but if I try to use any of the methods after initial loading, the methods fail. But if I take out the snippet that loads the tabs, they work. So I think the problem is how...

Blend multiple jQuery files - Best practice?

Hello, I'm starting to learn JavaScript and jQuery. I managed to do some tweakings and stuff, everything's fine so far. But I was thinking if it is a best practice to mix multiple jQuery files and plugins. For example: I have jQuery 1.3.2 min.js, jQuery easing 1.3.js, jQuery Cycle min.js and jQuery UI. Would it be recommended to put to...

Pagination in Tab Content of Jquery UI

I am making a page with Jquery UI TABS. In one of tabs I want to make pagination for comments. I want such thing. When user clicks on the number of the page, the data of the page , which is linked will load via ajax in the tab. Here is my code <script type="text/javascript"> $(function() { $("#tabs").tabs(); }); $('#demo')...

Is it possible to mix MooTools with Prototype and JQuery UI?

There are some things accross these which I'd like to use. I hope they've choosen clever naming conventions to prevent collisions with all their functions and classes? Does anyone use all these at once in one site? ...

Which web GUI / component frameworks, plugins and toolkits are available, that are based on jQuery?

I tend to use jQuery because of jQuery UI, which is pretty nice. But unfortunately a lot of things are missing, like beautiful form components (i.e. autocompleting select-fields with search-string-input in the root, or multiselect fields with search, password fields with security strength checker, etc.) I'd like to collect all framework...

Div popup over jQuery border layout

I have a Border Layout. When i click any link i am trying to open a Div popup. Problem is the div popup is not appearing in the screen. Below is the style of div popup. .divclose { color:#993300; text-decoration:none; float:right; } .divbody { width:70%; padding:5px; border:2px solid #EFEFEF; background-co...

jqueryui draggable question: how to drag multiple elements at the same time ?

Let's say I have something set to be dragged: <div class="container"> <div id="draggable-1"></div> <div id="draggable-3"></div> <div id="draggable-4"></div> <div id="draggable-5"></div> </div> Is it possible to set jqueryui's draggable api so I can drag multiple draggable elements at the same time? Thanks. ...

Overriding jQuery Dialog method

I am trying to override close method of Jquery Dialog method. Code : jQuery.Dialog.close = function() { alert('my close'); } But its not working. Please help. ...