jquery-ui

How do I place a non-tab item in a jQuery UI Tab Bar using valid XHTML?

I am creating a standard jQuery UI tab bar, nothing special except for the following: I would like to include a hyperlink on the right-hand side of the tab bar to serve as a log-out button. I know that I can accomplish this using invalid XHTML by writing the tab container like this: <div id="tabs"> <ul> <li><a hr...

Jquery UI datePicker

I have this code $("#calendar").datepicker({ dateFormat: 'yy-mm-dd', onSelect: function(dateText, inst) { $('.selected-date').html(dateText); } }); I am looking for a way to send the date in 1 format to the database with ajax(not shown) and also update a div with a different date format. What is the best way t...

Anyone care to review this JS code for a custom scroller?

Hi Guys I'm by no means a programmer... I've never really taken a comp sci class, don't know much theory, but I still hack together code that usually works. I just don't know how ugly it actually is. I recently wrote this (simple) bit of JS and was wondering I could get some feedback on it... If this isn't an appropriate place for i...

how to make editable grid cell readonly + jquery

HI Everyone, Now i am use jquery editable grid, i want to make some cell readonly on basis of some checking Is it possible??? if posible plz reply this question BR~ Nazmul ...

Show/hide div based on value of jquery UI slider

Hello, I am using the jQuery UI slider and trying to show a div when the slider hits a certain value and hide it otherwise. The div is showing/hiding but at unexpected moments. Can anyone spot where I'm going wrong with my syntax? Here's the script: $(function() { //vars var conveyor = $(".content-conveyor", $("#sliderContent")), ...

jQuery UI: Nested sortable errors.

Hi All, Thanks for reading. Two issues: I am creating a task-list type of system, which will use nested sortable lists. Here's some very basic demo code: <script> $(function(){ $('.sortable_test > li').attr('style', 'border:1px solid red; padding:3px; margin:2px;'); $('.sortable_test').sortable({ distance: 5, ...

JQuery Tab using ViewModel data...

using asp.mvc & jquery (with ui.tabs): i would like to change the view model before clicking the tab (programatically) but it doesn't appear to be working. i click the tab just fine but the view model's data hasn't changed. here is how i'm doing it: first: i check to see if you are my tab. if so, i check to see if the controller h...

Does jquery live slow down websites?

Hi I have a problem I am using jquery U.I tabs that load everything with ajax. Now I have it right now everytime you click on a tab a partial view is loaded up into that tab. Now in this partial view their are javascript files that use jquery to bind all the events that are needed in that tab plus some jquery plugins I am using. Now...

JqueryUI Tab Linking from Another Page

I'm having some issues with jqueryui tabs and linking to certain tabs on another page. Basically, each page has tabs, and all are navigational via drop down at the top, with each 'tab' being available in the drop down. Currently I'm able to text-link, but only within the page I'm on, and I'm just lost on the getting it to work correc...

JQuery datepicker: how to translate? (won't accept dayNamesShort)

Hi all! I am trying to translate JQuery's datepicker without much success. With the code below, months get correctly translated, while the days (short) are not translated! What's wrong? <script type="text/javascript"> $(function() { ... $("#datepicker").datepicker({ onChangeMonthYear: function(year, month, inst) {...}, ...

Display index of list item using jQuery

I have an unordered list like so: <ul class="foo"> <li id="asdf"> <span class="indexnumber"></span> <span class="description">whatever</span> </li> <li id="asdfasdf"> <span class="indexnumber"></span> <span class="description">whatever</span> </li> </ul> I want to display the index number of the list item in t...

send value to overlay from jquery

Hi All, I am displaying a overlay on click of a row in the table. The over lay is a div in the same page. This is working perfectly fine. But now my requirement is like if i click on row 1 it should display the row 1 and if row 2 is clicked it should display the row 2 and so on. But the problem is i can know the row clicked from t...

jQuery UI Datepicker - Multiple Date Selections

Hi Is there a way to use the jQuery UI Datepicker widget to select multiple dates? All help is appreciated! If its not posable to use the jquery UI datepicker then is there something similar that does? ...

Jquery datepicker localization

I need a french calendar and I can't understand the problem. I guess i'm not using the regional options like it should be. But... Here is my code : $(function() { $('#Date').datepicker({ showMonthAfterYear: false, showOn: 'both', buttonImage: 'media/img/calendar.png', buttonImageOnly: true, dateFormat:'d...

Seamless CSS class transitions with jquery

Hi, I'd like to use jquery.ui's class transition animations on my website. Everything works fine in Firefox, but jquery.ui throws when running the same animation in IE. This thread describes exactly the same problem I am having and mentions that there is a jquery.ui branch by Alexander Farkas which fixes it. Unfortunately the link to ...

Problems with custom alert box via jqueryid dialog

I've been working on a custom alert box that has the same style as the rest of the website via jquery-ui. It was working well except that it wouldn't open more than once. As I was trying to fix that, I broke the whole thing some how, and now I get this error: Node cannot be inserted at the specified point in the hierarchy" code: "3 B...

Jquery Dialog - extra dialog opening

I have a dialog opening after a form is submitted using the ajaxForm plugin. The ajaxForm updates the dialog content. The problem is that an extra dialog is opening. Here's the javascript code: function formSubmit(target, form, success){ var formoptions = { target: target, success: success }; $(form).ajaxForm(...

JQuery - If DIV ID is Visible

I am trying to find out of a DIV is hidden or if it is exposed. This is the pseudocode: if(DIV != VISIBLE) // not visible { show content } Any JQuery Experts able to assist me? Thanks, Robert ...

Jquery UI - Sortable add class on update

Hi, I'm using jqueries UI sortable plugin with 2 connected lists. I'm trying to get sortable to add a certain class to the li when it is dropped into certain uls. So depending on the ul it goes to, I want it to remove the old class and add a new different class which will be ul dependent. For example: I have a complete list and a arch...

How can I close a jQuery UI dialog after a x seconds?

How can I programmatically close a jQuery UI dialog after some number of seconds? I figure I need to do something inside window.setTimeout(function() { //Something here.... }, 10000); ...