jquery-ui

Jquery - Check if checkbox is checked

All, How can I check if a checkbox in a checkbox array is checked using the id of the checkbox array? I am using the following code, but it always returns the count of checked checkboxes regardless of id. function isCheckedById(id) { alert(id); var checked = $("input[@id="+id+"]:checked").length; alert(checked)...

jQuery UI - slider + progressbar effect

I'm looking to build a control that's a combination of the jquery ui progressbar and slider. What I really need is exactly like the range slider, except that the max shouldn't have a handle and shouldn't be movable by the user. I want to implement something like a buffered playback control, where the 'fill' is the max amount buffered and...

jQueryUI Dialog positioning after vertical scrolling

Hi, I have the following jqueryui dialog: $("#dialog").dialog({ bgiframe: true, autoOpen: false, height: 420, hide: 'slide', modal: true, buttons: { 'Annuler': function() { $(this).dialog('close'); }, 'Envoyer votr...

Whats the best way to develop javascript?

Im keen on learning javascript and ui design. Im using visual studio 2005 but find it difficult to debug code, I use firebug also. Is there a javascript editor with intellisense out there that I can get for free im have a hard time using the syntax and some of the helper mthods like parseint etc. Any advice much appreciated. Cheers Pq ...

jQuery dialog scripts for input val

Hi, I have a bit of a problem with a jQuery dialog and the way scripts are handled. In the dialog html, I have <input id="test"> If I do <script type="text/javascript> $('#test').val("haha") </script> after the input, it shows up. If I put it before, it doesn't work. Now the problem is I'm trying to change the value of $('#te...

jquery date picker to show month year only

I am using jQuery date picker to display the calendar all over my app. I want to know if I can use it to display the month and year (May 2010) and not the calendar? Thanks, Aanu ...

Accordions are nesting

I am building some accordions dynamically from some data that gets returned from the database, What should happen is that the user clicks on a link for the Blog, the blog accordion appears with header blog and click on that triggers the accordion affect. This bit works fine, the problem comes then the category blog has more than one of...

Is it better to break a HTML page to smaller chunks and combine it using AJAX or is it better to have it as a single page?

Hello Everybody, We are working on a page with multiple tabs which has all static information like labels and textboxes to retrieve registration information. We use Jquery UI Tabs so we have all the tab details as Divs in the same page. My colleague feels that it is difficult to manage the page since it has close to 800 lines of html co...

jQuery UI - Why is there a dotted outline around an anchor that shouldn't be active?

I'm using the dialog box modal from jQuery UI and when I open up the dialog box, the first or one of the first few anchors has a dotted line around it without me clicking on anything. Once I click anywhere on the screen it goes away. So it appears that the dialog box is activating the anchor, but how it's doing that is beyond me. ...

jQuery-UI draggable stack and handle together

$(function() { $("#set div").draggable({ stack: { group: '#set div', min: 1 } handle: 'p.handler2' }); }); anywhere wrong? ...

jQuery Dialog Button Click failing in IE

This has me stumped. I have a page with jQueryUI tabs. Each tab is populated via ajax. On the fourth tab a user can click a button which brings up a modal dialog. The dialog is a form that accepts user input, posts the form via ajax, closes the dialog, then updates the page with the new data. I use custom buttons in the dialog instead o...

Memory Leak with jQuery UI inside UpdatePanel in ie7

I have a fairly complex asp.net page based on UpdatePanels and jQuery UI. Unfortunately, when the panels update, the jQuery UI widgets leak memory like crazy in ie7, even if I manually 'destroy' them. Does anyone know a technique/patch to prevent these leaks? I've created a simple example page with a slider inside an UpdatePanel. Jus...

JQuery UI Accordion Jumps with CKEditor

Hi everyone, I have an accordion working just fine, but once I include a CKEditor in it, everytime the accordion tries to show or hide that DIV, the accordion jumps a little funny. All other DIVS work just fine when I try to hide or show them. Jquery: 1.4.1 CKeditor: 3.1 Jquery UI: 1.8 Does anyone can point me in the right direction...

Problem with nested jQuery sortables

Here's the basic HTML structure for my page: <div id="selectedItemsTop"> <ul> <li> Root element <ul> <li>Level One a</li> <li>Level One b</li> <li> Level One parent <ul> <li>Level Two a</li>...

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...

How do I make jQuery UI look better in IE?

I've read the css framework of jquery ui: http://jqueryui.com/docs/Theming/API And find some of the css settings is not valid in IE: .ui-corner-all { -moz-border-radius-bottomleft:4px; -moz-border-radius-bottomright:4px; -moz-border-radius-topleft:4px; -moz-border-radius-topright:4px; } Is there some way to fix this kind of situatio...

convert HSL or HSV to RGB via jquery

Hi, I'm looking to generate random "similar" colors using jquery. It is my understanding that the best way to approach this is using HSL or HSV, according to this question. The issue is I can't seem to figure out how to either… Use HSL or HSV with jquery; or Convert HSL or HSV to RBG via jquery I found this color library, but ...

Can I highlight an entire week in the standard Jquery UI date picker?

Can I highlight an entire week in the standard Jquery UI date picker? ...

Making a JQuery UI accordion work without proper HTML structure (drupal)

I am using JQuery 1.3.2 and UI version 1.7, and Drupal 6.15 I would like to make an accordion using HTML output from Views modual. I modified the .tpl.php file to output the usable <h2></h2><div></div>,<h2></h2><div></div>... format. However, the Views module wraps the output in another <div>, looking like this: <div class="views-r...

Make a class' background color transparent?

Hello, I am making a website that uses nothing but jquery-ui for theming. Well, in my application I need to do alternating colors per row on a list. Right now all of the rows are just the color of .ui-widget-content. Well, I can apply a class on alternating rows with no problem, but I want for the alternating color to be a very transpa...