jquery-ui

Can't set date range for Jquery UI calendar

I am having problems getting my head around the syntax to set the date range for the JqueryUI calendar. this... $(function() { $('#DOB').datepicker({ changeMonth: true, changeYear: true, dateFormat: 'd MM yy', minDate: new Date(1900, 11 - 1, 6) }); }); is strangely giving me a range of the yea...

jQuery sortable obtain 2 elements being swapped

Hi, I cannot find out how to obtain destination element with jQuery UI sortable. $("#pages").sortable({ opacity: 0.6, update: function(event, ui) { var first = ui.item; // First element to swap var second = ???? // Second element to swap swapOnServer(first, second); } ...

jquery ui date, setting date from icon

I've got a datepicker in an asp.net web app that has today's date set by default. We have an icon that when clicked needs to clear this date (and potentially add 'dd/mm/yyyy' as text back in as some descriptive text on date entry). I've added an icon and created a click event handler on it but I'm having issues setting the date to nothin...

OO JavaScript: Accessing another method of the same object?

I have a JavaScript object called ShippingUI: function ShippingUI(){ ... } It has several methods: ShippingUI.prototype.UpdateItemQTYs = function(ItemJQOBJ, NewQTY) { ... } ShippingUI.prototype.EH_SortableRecieve = function(event, ui) { ... } The "EH_SortableRecieve()" function is a drop event handler. When it runs, it n...

Click Event on button in list not working

<ul id="mylist"> <li id="1">1<button id="Button3">Delete</button> </li> <li id="2">2<button id="Button2">Delete</button></li> <li id="3">3<button id="another_entry">Save</button></li> </ul> I have the code as follows: <script type="text/javascript"> $(document).ready(function() { $("#mylist :button").liv...

problem in reading textbox value in li

I have a ul as follows: It can`t read the text values neither with val() nor text(). Can anyone help please <ul id="mylist"> <li id="1"><input type = "text" value= "aaaaa" /></li> <li id="2"><input type = "text" value= "bbbb" /></li> <li id="3"><input type = "text" value= "ccc" /></li> <li id="5"><input type = "text" value= "...

trying to using non-scoped jqueryui widgets within a jquery-ui scoped container

Hello I have a scoped jquery ui theme for my page styling. I want to use an unscoped ui component WITHIN this layout ( the user will be using the themeswitcher utility to customize the look of their 'custom component'. ) like this <div class="my-theme"> content and a bunch of widgets here <div class="unscoped-theme"> ...

jquery not executing on pages with custom routes

I have a number of pages that include the same partial view which contains a set of jquery tabs. The purpose of the partial view is to componentize a common set of tabs. The tabs are essentially links to the other pages. The urls for the tabs on the partial view are provided by the view model passed to the partial view. The urls are ...

jquery ui css and image files are in a different folder, how to configure?

I am using the jquery ui, I downloaded the entire toolset. I put the css and images into a folder like: /images/jquery/base/ /images/jquery/ui-lightness/ How can I configure this so it works? (if that's possible) ...

jCarouselLite not setting width and left values on div

Hi, jCarouselLite not setting width and left values on div. Also, in firebug the div and ul and greyed out although the div has: visibility: visible; Incidently, the width and height attributes on the ul and subsequent li's are set to 0, shouldn't jCarouselLite be setting those? Images are being loaded in the DOM - but not displaying...

best way to set jquery datepicker dates when user paging through data

I have a report where I am using jquery ui's datepicker for the start and end dates for the report data. When a user pages through the data, I want the maintain the date ranges on the picker. How can I do this? Say I modify the url's for the next/previous buttons based on the values of the datepicker, how would I reset the datepicker ...

jQuery Using a slider and arrow links to create custom horizontal scroll bar

I have made a lot of progress on this, but there is a part I am missing and it seems like it should be simple. I have a horizontal div and I am using something similar to this: http://www.switchonthecode.com/tutorials/using-jquery-slider-to-scroll-a-div But I also want to include arrows on the side so that the user can move the slider ...

jquery icons in jquery tabs problem

when i put jquery icon on my website it looks fine, but when i put icon inside jquery tab, icon image is moved few pixels left has anybody solved that problem already? thnx! ...

Problem with using lightbox and jquery-ui accordion in Drupal 6.15

Dear All, I have having problem putting jQuery-ui Accordion and Lightbox on the same page. I am using Drupal 6.15 Jquery 1.3.2 Jquery-ui 1.7.2 Lightbox2 drupal module The thing is... my lightbox works fine if I exclude the following line:- drupal_add_js('sites/all/js/jquery-1.3.2.js'); but if I exclude the above line, my accordion ...

JQuery UI Slider for time

Hi I need to implement a slider for 24 hour time range . I like to use jquery ui slider for this . I have written below code <script type="text/javascript"> $(function() { $(".slider-range").slider({ range: true, min: 0, max: 23.59, step: 0.15 }); }); </script> I like the range is like 01:00----...

Twitter like Form Submission using Ajax or Jquery

I need a simple example of form submission very similar to Twitter. How you type in a comment and click update and without the whole page refreshing, the comment gets added below on top of the rest of the comments. I would prefer something in Jquery as my PHP project is already integrated with it. ...

How do I use a jQueryUI Dialog for confirmation?

I'm trying to use the jQueryUI Dialog to get user confirmation before a database update, but I'm battling to see how I can tell what the user's choice on the dialog is, as all in samples I can find, both buttons just close the dialog, with no persistence of the chosen button. E.g. from the jQueryUI sample and docs: buttons:...

jquery UI tabs - drag & drop between tabs? design issue

so my company is finally going to rewrite some pages using jquery. They wanted some sort of a search panel, and when the user clicks on a search result (it could be a plan, a project, an invoice), the result details will open in a new tab. all is good. each search result can contain documents and they want to be able to drag a document ...

jquery ui datepicker - need a draggable date version

The jquery UI datepicker functionality is great, but I'd like to replicate the google analytics style date picker where you can select a range of dates by dragging from start to end. I don't think the datepicker can do this, nor the excellent filamentgroup range picker. Anyone done this before and have either some mods to jquery ui dat...

Fixed Bar like facebook/wibiya with jquery/YUI/prototype

Hello All, I was just wondering if any one knows of a good script to emulate a bar like wibiya or the facebook notification bar that used to appear at the bottom(just before the current facebook homepage change) . I just checked out one of the scripts but it is still under heavy development so looking for some stabler options: http://...