jquery-ui

Prevent default on a click within a JQuery tabs in Google Chrome.

I would like to prevent the default behaviour of a click on a link. I tried the return false; also javascript:void(0); in the href attribute but it doesn’t seem to work. It works fine in Firefox, but not in Chrome and IE. I have a single tab that loads via AJAX the content which is a simple link. <script type="text/javascript"> ...

Animated transitions for jQuery UI's sortable

Just out of curiosity, as I haven't been able to find anything anywhere; does anyone know of a way to get jQuery UI's sortable function to animate its sorting? What I mean is, when you move an element around the sortable parent, its children, the sortables, skip around instead of smoothly animating to their new position, which besides f...

Jquery -Print Dialog Area :: Is exist plugin for printing jquery dialog content?

Hi, I don't know well jquery ui. Is exist plugin for printing jquery dialog content/some code (Only print dialog content and not all webpage) Thanks ...

jQuery Dialog : What is a jQuery dialog, is it a separate webpage or is it part of the existing webpage?

Hi, Whats the meaning of Jquery dialog: Is it separate web page or its part of web page? (I don't know well Jquery). Thanks ...

jquery: draggable plugin -> remove drag behaviour from html5 video controls?

hi guys, im working with the jquery ui draggable plugin and i have an html 5 video element with "preload controls" that acts kind of buggy. I $(".thumb").draggable(); if i drag the video by clicking on the video controls and i'm releasing the mouse again, the video still sticks with the mouse. <div class='thumb video'><video width=...

How to get the child of an element being dragged with jQuery UI

I have the following html: <div id="gallery"> <ul> <li> <a href="url I want to get">link</a> </li> </ul> </div> and some jQuery that allows it to be dropped on another div: $trash.droppable({ accept: '#gallery > li', activeClass: 'ui-state-highlight', drop: function(ev, ui) { ...

jquery - lose click() event after ajax call???

At the following webpage liamharding.com/pgi.php I have an option panel on the left side of the page which opens and closes upon clicking the panels 'arrow', this works fine until you select a market (for testing use one of the 'Random Walk' markets and click 'Show/Refesh Graphs'), this then makes an ajax call using get_graph(forexName,...

jQuery draggable leaving cloned html behind

I am using jQuery UI; Draggable http://jqueryui.com/demos/draggable invoked like this: $(document).ready(function(){ $("#side_bar").sortable({ revert: true }); $(".draggable").draggable({ containment: 'parent', hascroll: true, ...

jquery radio buttons don't work in Safari (fine in Firefox)

check out this page in firefox and safari: http://jqueryui.com/demos/button/#radio the radio buttons example looks great in firefox, but comes up as regular radio buttons in safari (in fact none of the examples on that page work). any idea what the bug is in safari and how to fix it? or is it just my computer? javascript is enabled. th...

jQuery UI datepicker performance

I have a textbox on my web page that is used to specify a date, so I'd like to use the jQuery DatePicker. However, most of my users are locked into using IE6 and the performance of the jQuery DatePicker is a little sluggish in this browser. Can anyone recommend an alternate JavaScript date picker, or any means of improving the display p...

Javascript get li values and encode them

At the moment I have two (maybe more) unordered lists which are sortable with jquery and ui. The things that work are that the lists are connected, items are draggable, items can be removed and a form that adds to the list. What I need however is a function that gets all the content for li items and json encode them ready to be sent of...

jquery : ul, li parent multiple child sub-child toggling

hello, my main question is as follows: how to show only the first subchild of a ul or li upon clicking the enclosing parent. eg: <ul> Grandparent <li> Child1 <li> Grandchild11</li></li> <li> Child2 <li>GrandChild21</li><li>grandchild22</li></li> </ul> so, for example I would like something to the effect of $('ul').click(function...

prompt error in jquery ui file

I run the script in IE 8 and get error message after typing in the input field: //error message from IE8 Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.2) Timestamp: Mon, 7 Jun 2010 23:13:10 UTC Message: Obje...

clicking anchor element within jquery tab loads new page *outside* tab

Hello, I would like to be able to click on an achor element from a page inside a jQuery tab and have that new page load directly inside the original tab. I used sample code from the jQuery tutorial page but to no avail! When I click on the anchor tag, I get redirected to www.google.com but lose my tabs. Does anyone know what I'm doing ...

jquery-ui ".draggable is not a function", error ...

I am getting the following error (using Firefox 3.5.9): $("#dragMe_" + myCount).draggable is not a function $("#dragMe_"+myCount).draggable({ containment: 'parent', axis: 'y' }); Line 231 http://www.liamharding.com/pgi/pgi.php Link to page in question : http://www.liamharding.com/pgi/pgi.php Once you click the above link, follow al...

jQuery: Datepickerdate range

According to the documentation for the datepicker, the yearRange property determines the range shown in the dropdown (which using the code below is -10 years, +10 years from the currently selected date). Is there a way to change this to 80 years in the past, zero years in the future. Is there something else I need to do to increase the r...

[jquery] multiple resizables acting strange

Hi there everyone, I'm trying to place multiple resizable and draggable div's on one page that move (vertically) inside their own parent div. you can take a look at http://bit.ly/bCutBE However, these div's act really strange when I want to resize them, especially from the north side, they kind of move out of the screen very fast, whil...

jQuery UI sortable - external controls

I have a sortable list inside of a modal dialog (non jQuery UI): <div id="modal"> <ul id="reorderList"> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> <li>Item 4</li> <li>Item 5</li> </ul><!-- /#reorderList --> <button class="save" type="button">Save Order</button> <button class=...

Why is it when I set "closeOnEscape" to false and then "closeOnEscape" to true jquery dialog escape does not work?

Hi I am using jquery ui 1.8 and I have a model dialog that popups up and if a user clicks on a checkbox another one comes up. This requires them to say "yes" or "no" so I removed the "X" on the dialog and put closeOnEscape to false. However I noticed when I did that the model dialog underneath it would close when they hit escape. So n...

Make input field jquery ui datepicker editable

Hi Folks, I've scanned trough the documentation but I can't find out how I to get the field to get the datepickers value AND let it be editable using my keyboard numpad. So filling/editing the date without using the datepicker. I hope my question is clear cause I don't know how the formulate it otherwise.. Greetings ...