jquery-ui

jquery ui datepicker next and previous year

On the standard jquery.ui.datepicker widget there's only a next and previous button for selecting a month. If I enable year, it will be displayed in a select box. What would be a good way to implement two buttons on both sides of the calendar? One for selecting next month and one for selecting next year, displayed next to each other on...

jQuery ui.selectmenu not working with latest version of jQuery and Colorbox

I am using ui.selectmenu inside colorbox. It's work well with either, jQuery or colorbox having older version. It work with below two combinations: jQuery 1.3.2 and colorbox 1.3.8 jQuery 1.4.2 and colorbox 1.3.0 If does't work with: jQuery 1.4.2 and colorbox 1.3.8 The problem is destroy method of ui.selectmenu call immediately after...

How do I use jQuery UI's Highlight and Error widgets?

jQuery UI has some nice convenient CSS styles for alerting and highlighting. I can see it at the themeroller site -- look on the right hand side. Is there a Javascript interface to these styles? Do we use hard-coded CSS? Where is this documented? Is there method list, a cheatsheat, or anything other than the interactive docs on jQuery U...

What is the best jquery tooltip plugin?

What is the best jquery tooltip plugin? ...

Simple jQuery gallery which can load content dynamically

Hi, I need some jQuery plugin, tutorial or guidelines to create simple image gallery which content could be loaded dynamically, it would display one image at the time, and that image would be changed by sliding it to the left or right. I have tried jCarousel, but I could not manage to make it show only one image at the time with dynam...

HTML Drag And Drop On Mobile Devices

When you add drag and drop to a web page using JavaScript, such as jQuery UI draggable and droppable, how do you get this to work when viewed via a browser on a mobile device - where the touch-screen actions for dragging are intercepted by the phone for scrolling around the page etc? All solutions welcome... my initial thoughts are: H...

In jQuery, IE object doesn't support this property or method, can someone help?

I have been pulling out my hair on this topic. I have been searching google and could not find much to help me. I have this here: http://www.fissiondesigns.com/simon Works in FF and chrome, but can't get it to work on IE, keep getting an error 'object doesnt support this property or method'. I looked it up on google and couldn't find...

Help with rails json and jquery

Im trying to use this jquery ui widget for autocompleting a textbox in my app. I have created an index.json.erb file inside my views/university folder here's my current (piece of crap) code json='[' <% @universities.each do |u| %> json+='{ "id": "#{@u.name}" , "label":"#{@u.name}" , "value": "#{@u.name}"},' <% end %> json+=']' json N...

jquery dialog opens when called from one function only does'nt open when called from other functions

I'm calling a dialog that says "Please wait while the page is loading.." from differnt functions. The dialog opens up fine when called one function(working function) but doesn't open when called from other functions(clearAll) on the same page. The other function executes fine but just the dialog doesn't appear. Any ideas whats going wro...

In css or jquery, is there a way I can add something to my border on a div?

Is there a way I can put little squares around a div to make it look like handles, one top middle, top left, top right, middle left, middle right, bottom left, bottom right, bottom middle. I have this jquery plugin and I have a div resizeable, but I wanted to know how I could make it look like it has handles. Most likely in css, but ma...

What does 'Error: uncaught exception: Syntax error, unrecognized expression: [object Object]' mean in jquery?

I keep getting this error, but it doesnt give me a line number or anything. 'Error: uncaught exception: Syntax error, unrecognized expression: [object Object]' That is the error, from this script: http://www.fissiondesigns.com/simon/ try drawing a square on the picture. Thanks in advanced! ...

jquery: parameterize a dialog box

This question is really using a jQuery dialog to ask a more generic jQuery question. I need to, in essence, pass a continuation to a modal jQuery dialog. I want to define a dialog box once on a page, but when calling dialog('open') on it, I want to arrange for the button functions in the dialog to have a value in scope that they can ca...

How to remove old content from jquery-ui tabs when clicked?

Hi I am wondering if anyone knows how to solve this problem. I am using the jquery ui tabs and each tab I have is ajax enabled with caching disabled. So every time the tab loads it should load up all the content again. It does this but what I don't like is first it displays the old version first while it is trying to load up the new co...

JQGrid not showing pager icons down

I am using JQGrid in one of my web project. I am using xml as the data and able to get the data fine. But the problem is in the grid for pagers icons are not visible. If i move the mouse over the pager then i get a focus on that. Below is my code. Any images are css am i missing... jQuery(document).ready(function(){ jQuery("#li...

Add jQuery UI Button to UI Dialog loaded from Ajax

I'm opening and closing dialogs that are dynamically created using ajax. I'd like to be able to have the buttons that appear on the dialogs use the jQuery UI button. I can do this by calling $("button").button(), but that affects every button element. How can I be specific to only affect the buttons that appear on this dialog? var $d...

JQuery UI sortable is slow in IE8, but works good in IE7 and IE8 compatible mode

JQuery UI sortable (including demos) are slow in all IE8 I can test, but runs smoothly in IE7 and IE8 compatible mode. The more complex is a markup on the page, the more IE8 is slowing down (that's I can understand, the DOM tree became more complex). I'm using JQuery 1.3.2 and JQuery UI 1.7.2 (tested with 1.7.3 -- the same story). I've...

How to stop this? Multiple clicks on a button with jquery?

Hi I think I have a problem with multiple clicks on the same button. I thought I solved it but I think there is 2 problems not the orignal one problem that I thought. The first problem was if they clicked a button(say a save button) it would do that many save ajax posts. So if they clicked on it 5 times because they where impatient it...

jQuery UI Resizable - Resize elements, Restrict size to several specific sizes?

I'm trying to create an interface where the user can lay out a page by resizing the elements on it, using jQuery UI Resizable. At the moment this is laid out with a string of item numbers and size attributes. Example of layout text: [(b) 80431R 80431P 80431B 80431BK 80431SB 80431PR] 80472(1p5) 80616(1p5) 80617(1p5) 80618(1p5) 80475(1p5...

Can't select day 8 and 9 in datepicker plugin for Symfony (sfFormExtraPlugin)

Hi, I am currently using the JQuery plugin Datepicker in my Symfony project with the sfFormExtraPlugin. Everything is working fine but there is a seems to be a strange bug in the plugin. If I select 8 or 9 in any month the day is not selected in the form. The month and year work correctly but the day is not selected. The plugin works co...

jQuery Dialog makes scrollbars appear in main content

This test of jQuery dialog makes the scrollbars appear in the main content when the dialog is opened. When I touch the dialog resize, the scrollbars go away. Is it the way I defined the dialog or too much content? Click the [!] in the top right corner to see this. Platform: XPsp3, browsers: FF3.6.3, IE8, Safari 5 Thanks ...