jquery-ui

How to show a full year starting from January with jQuery UI datepicker?

I want a calendar that shows the whole year starting from Jan-Dec regardless of what month today is. At the moment, this will show the date from July 2010 to June 2011. jQuery('.calendar').datepicker({ numberOfMonths: [3, 4], stepMonths: 12 }); When I added showCurrentAtPos: <? echo date('n')-1 ?>, it seems to place the curren...

how to redirect to a url in mvc view

Hi, I am implementing live search and when the user selects any of the options then accordingly the page gets redirected depending on the option selected. I have jquery for implementing live search . In the select option :-->> I want to redirect my page to Index Function in the HomeControllers file using javascript. The Index function...

Live click and targeting a specific element in jQuery

I have the following code: $("li.item").live('click',function() { $('#menu').animate({ }, 500); }); Now, I would like to move the character to the li.item you clicked on, but I cannot use $(this) as that would get the #menu item. I also cannot use li.item as there are 60 of them on the page. Is it possible to pull the speci...

Openlayers inside jquery ui tabs

I want to use Openlayers inside jquery ui tabs but I get error: "size is null"! ...

jQuery UI datepicker preventing highlighting of today's date when defaultDate is also specified

Hi, I have two datepicker inputs. One is a 'from' date and one is a 'to' date. The criteria for the from date is that the user can pick a date from today's date to 10 days ago. the issue i am encountering is that both today's date and the date of 10 days ago are highlighted. I would like to just highlight the date of 10 days ago but...

Custom Range/Variable Set with jQuery UI Slider

Hello, I wanted to see if I could make a custom data set to use with jQuery UI Slider. I'm working on a site that has dress sizes that come in the range of: [ 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 16W, 18W, 20W ] The issue I'm having arises right after 18, when it jumps to "wide" sizes that are a bit unique. Before I added in the 16W, 1...

iframe + simplemodal + accordion = broken ESC key

The escape button seems to be broken when you expand/collapse any of the content at least once. The escape button triggers fine if you do not expand/collapse any of the content. This issue holds true when using jQuery-UI dialog as well. Is there a way to resolve the issue with the escape button not closing the dialog/modal? <iframe src...

appends the option on every run

I am using the code below. Problem is that every time I select the option it duplicates all the options and the list shows all the options again. Here is the code: if(x > 50){ var i, j; j = 0; for(i=0; i < x; i++){ if(i%50==0){ $('#startRecord').append( ...

Create a draggable sortable effect like that of BBC

I want to create draggable and sortable effect like that of http://www.bbc.co.uk/. For that I used Jquery UI and got kinda same effect. But with complications, if you see the effect in BBC's website, when you pick a division there appears a shadow with a dotted line below it and the shifting between the boxes is pretty much different t...

jQuery - stopping a hover event while dragging

I'm creating a drag and drop image environment, where if you hover over an image, a small menu pops up overtop of it. if you click and drag the image, you can reorder them. The problem I'm having is, I want the hover event to be disabled when you're dragging around. Currently if you drag an image around, it triggers all the hover menus ...

jQuery UI modal dialog form using remote content

I have a form in a web page dynamically generated and I would like to display it using a the jQuery UI modal dialog. How can I display the modal dialog form with the remote existing form (myform.html) as content when I click on a link "Open Form"? Clicking on submit button should close the dialog form. ...

Multiple Jquery UI Tabs

I have two sets of Jquery UI Tabs $('#tabs').tabs(); $('#tabs2').tabs(); I bound a tabselect event to the first set of tabs $('#tabs').bind('tabsselect', function(event, ui) { currTab.val(ui.index + 1); }); The event should not fire when switching between tabs in the second set, "tabs2", but it is. Any ideas why it is doing this?...

Can you extract a background-size 'auto' value, using jquery, javascript, or css?

If I have background-size: 50% auto; What if I want to extract the auto value, basically to be able to get the new height or width? ...

Versatile DatePicker control which satisfies these requirements

I am looking for a ready made control, ASP.NET server control or jQuery, or close enough which satisfies these requirements for a ASP.NET app: 1- Supports a year view (can display 12 months). 2- Ability to select a date range using Click on start date - shift click on end date and it selects all the days in between. 3- A date range can...

what is jquery CSS frame work and how to use the frame work for giving look and feel to the website?

what is jquery CSS frame work and how to use the frame work for giving look and feel to the website? and how to give skins? Give me how to implement jqueyUI css class and id to maintain consistent look and feel to the entire site? any demos ? ...

How to Theme a web site using Jquery UI? any tutorials and Demos?

Can you provide me links and resources for jquery UI themed websites or home pages and tutotirals on how to theme a page using Jquery UI? ...

How can I apply a theme to a table using jQueryUI?

I need to theme some tables, and I want to accomplish this using jQueryUI. Where can I find some examples, resources, links and demos of this? ...

jQuery UI autocomplete for multiple key/value selections in ASP.NET

Hi, How do I handle selection of multiple items with autocomplete? The objects I return from my JSON web service contain an ID and a Label - the ID is the ID of the entity in the database, and the Label is some text to display for the user. At the moment, when I select an item in the autocomplete dropdown, the value of the item's ID is...

How do I get jQuery to apply an effect to each item in an .each() loop before it finishes?

I have the following list: <div id="test">test</div> <ul> <li>foo</li> <li>bar</li> <li>sta</li> <li>cko</li> </ul> and the following jQuery code: $(document).ready(function() { $('li').each(function(index) { $('#test').text($(this).text()); $('#test').show("drop", { direction: "down" }, 500, func...

jQuery Datepicker disable Dates Problem on IE

Hey Guys, i have a big problem with my jQuery Datepicker Script. I use jQuery 1.4.2 and jQuery Ui 1.8. Background: I have a reservation calendar with a fromDate and toDate and all Dates which are already reserved are disabled. The Dates come from Database by AJAX Call. Problem: Everything works fine in Firefox - but IE 7/8 does not di...