jquery-ui

jQuery moving a div across the screen, bit by bit

So I have this code: $(document).ready(function() { $(document).keypress(function(e) { switch(e.which) { // user presses the "a" case 97: $('#character').css('left','+=40'); } } } The problem is that I can onl...

I need a select box with checkboxes for each item. Any recommendations on a jquery-ui plugin?

I need a html 'control' similar to "CheckedListBox" from WinForms: <select> <optgroup> <option>Item 1</option></optgroup></select> where each item (and group) has a check box which can be individually checked/unchecked with callbacks. Has anyone found a jquery-ui or other option for accomplishing this? Thanks! ...

jQueryUI Datepicker noWeekendsAndHolidaysAndWeekDay

I've got this answer working but I'd like to extend it: http://stackoverflow.com/questions/677976/jquery-ui-datepicker-disable-specific-days I'm stuck on adding this method to the solution: beforeShowDay: function(date){ var day = date.getDay(); return [(day != 5)]; } to noWeekendsAndHolidays. How can I add that i...

accordion accordionchange and getting the selected value

Can anyone help me please, I feel like I am so close. I need to get the value from the “A” tag selected, so I can use it later on down the page. How would you get the partial value of a selected link from links in an array? I am using an accordion. I actually don't think that makes a difference but there might be something useful that ac...

JQuery Draggable + Sortable: How to tell if item was actually added to my sortable list?

OK, I'm probably missing something obvious here, but my searches aren't turning up anything helpful. I've set up a sortable list and connected a draggable "palette list" to it, as explained here: http://jqueryui.com/demos/draggable/#sortable I can drag items from my draggable list and drop them on my sortable list. That works fine. I...

jQuery Get Previous and Next element on Drag

I am trying to do a timeline. The timeline have few dynamically keyframe elements placed with absolute position on random positions. Is there a way to get the Previous and Next element relative to a draggable dragger? Something like "if the #dragger is at left:55px, the next element is .keyframe 102px at left: 102px and previous element ...

I have a JQuery Dialog being displayed

I have a Jquery Dialog being displayed .on the Top of the dialog i have Two Elements appearing on the top of the dialog .How to hide this two elements .Iam Getting this issue in IE6.0 and IE 8.0 it works fine ...

refresh page using jQuery

How do I refresh the page(from overlay) using jQuery with Fade In effect? I have a div tag on the page and I open that like overlay using jQuery. Once I click "Ok" or "Cancel" on that overlay I need to refresh the page(to reload the data) closing the overlay with Fade In/Fade Out effect. Ajax update panel is doing partial post back and...

Want to copy selected items (by checkbox) in a jquery popup to the parent page

I have a page that has a button, that when clicked opens up a jqueryui popup window. the window has a list of items, each with a checkbox beside it. i want the selected items to be passed to the parent page when they hit the 'add' button on the popup. The items should send back the values selected, and inject that into a textbox. ...

Is there a jQueryUI LessCss template out there?

We are making extensive use of LessCss and and jQueryUI in a current project and we've looked all over for the jQueryUI theme in Less format. Has any one come across this? And if so, can you point me in the right direction? ...

jQuery with C# doesn't fire onclick event

I have an ASP.NET application that also uses jQuery for modal pop-ups. If I put an ASP button (or image button) within the DIV for the jQuery modal, the "OnClick" event does not fire. How can I fix this? ...

combining jquery accordion and rails nested forms

Hi, I'd like to generate a form with nested object forms like this (in haml): - form_for @parent do |parent_form| - parent_form.fields_for :children do |child_form| = child_form.label :first_name = child_form.text_field :first_name ... and I'd like to place the child forms in a jquery ui (1.8.2) accordion, like this (I think...

changing the value using javascript or jquery..is it even possible?

hi I am looking for a way to change the value what I passed to function once a button is pressed <span id="showHidden" style=" margin-left:726px; position:relative; top:40;"> <input type="image" id="btnShowHidden" src/images/hide.gif" onclick="showHiddenRecords(1);" /> </span> As you see in showHiddenRecords, its ...

Draggable - 'text' cursor is shown while dragging in Safari

Hi there, $( ".myCss").draggable({ cursor: 'move', other settings...) Based on this code, draggable object should show 'move' cursor while dragging. In IE and FF it works perfectly; but in Safari, it shows 'text' cursor while dragging. Checked in safari 4.0.5 Any pointers? ...

Jquery tab spinner does not stop in IE

I have added spinner for jquery tab widget. It works fine on firefox, chrome and safari. Only in IE when I click on the tab spinner starts and continues to spin even when data is loaded. $("#mainTabContainer").tabs({ selected: tabIndex, spinner: spinnerImage, cache: true, ...

how to stop page scrolling down while using jQuery Accordion

I am using jQuery UI Accordion in my App, one problem I have is: inside the 2nd tab, there is a very long form. Everytime when user come to the 2nd tab, the page automatically scroll down to the bottom of the form. even after I hard code and set the focus to the first text box of the form. any ideas? thank you all in advance ...

jquery Autocomplete in a Textarea - Fixing key up and down

I have applied the autocomplete functionality in a textarea, but there are issues with the key up and down. Specifically, the cursor does not move up or down when typing in the textarea because the event is suppressed by Autocomplete. Does anyone have any fix for this? I came across this post, but it didn't seem to work. Also, similar ...

Draggable Jquery

How can i change the id of div when drag is stop using JQuery. ...

Exclude jquery ui style from certain buttons/inputs

I need to exclude certain elements from being styled by jquery ui. Is it possible to exclude a certain section of code or disable jquery ui for a specific input button or anything similar? ...

JqueryUi Range slider: put min and max values into separated fields

Currently the range slider outputs min&max values into single text field. I think that's wrong behavior, at least for me :) Is there a way to separate these values using two different "input" fields? Thanks! ...