[jQuery] Date Problem (dd/mm/yy)
Hello, I got a problem sorting dates(dd/mm/yy). I already tried almost all kind of solutions, but no success all cases. Here is my snippet: $("#testandoTable") .tablesorter({ widthFixed: false, widgets: ['zebra'], debug: true, headers: { 0:{ sorter:"shortDate" } }, dateFormat: 'dd/mm/yy' }) As you can see, there is nothing wrong, since script runs fine. When i build my table displaying 'yyyy/mm/dd' it is sorted ok, but my date column is always sorted by mm/dd/yy when i display other format, like
[jQuery] Autcomplete error: list.scrollTop is not a function
Can't quite grasp why this is happening on certain pages (and sorry, these pages are behind login, so really can't publicly share a link) Line 707 of the autocomplete 1.0.2 is throwing "list.scrollTop is not a function" show: function() { var offset = $(input).offset(); element.css({ width: typeof options.width == "string" || options.width > 0 ? options.width : $(input).width(), top: offset.top + input.offsetHeight, left: offset.left }).show(); if(options.scroll)
[jQuery] Nested cluetips and other problems
Hi ppl, First: thanks for jQuery! But i ran into some problems. The first one is that I need nested cluetips / tooltips; The cluetip content i use, holds another cluetip which partially works: the first cluetip disappears as the second one appears. Problem 2 is that every time i do a mouseover the tooltip gets extended with another Close button. Problem 3 is that it is hard to set the content for a cluetip. My dirty trick is to do: obj.title = content or obj.href = url. Things like {rel: or href:}
[jQuery] JQuery Detect Adobe Reader
Hey all, was wondering if there is a way to detect whether a client (FF and IE) has adobe acrobat reader on it. the version doesn't matter but would be an added bonus if i could tell what version is installed in addition to knowing whether the user has adobe or not. thanks in advance for your help. etho
[jQuery] replacing src with attr works fine in FF and fail in IE7 ( for a little galery of pictures )
Hi, You'll find below my code. This code works fine in FF2 et FF3 but not in IE7 . I ll take any idea I tried with the document ready tag and it's the same . <script type="text/javascript"> $(function() { $("#productContentInnerGallery a").click(function() { var mysrc = $(this).attr("href"); // var imageSource2 = $(this).children("img").attr(mysrc); $("#productContentInnerLeftImage img").fadeOut("slow").remove(); $("#productContentInnerLeftImage").addClass('loading'); // alert(mysrc); showImage(mysrc);
[jQuery] Slider is not initialized in IE6 & IE 7
hello, for a slider with stepping i used/changed the following script: In IE6/IE7/Safari, the moveTo--Function does not work (when i don't move the slider before). In Firefox it works fine. Maybe someone has an idea... thanks & greets, Joerg Kaimer window.onload = function () { var container = $('div.sliderGallery'); var ul = $('ul', container); var itemsWidth = ul.innerWidth() - container.outerWidth(); $('.slider', container).slider({ minValue: 0, maxValue: itemsWidth, handle: '.handle', stop: function
[jQuery] problem with autocomplete
I'm trying to get auto complete plugin to get working. "c.split is not a function" error in jquery.autocomplete.pack.js -- Sharique
[jQuery] jquery 1.2.1 worked here, 1.2.6 doesn't. What's up?
For some reason, the following four lines (any or all of them) stop jquery 1.2.6. They work fine with version 1.2.1. They are part of a general script that loads with every page. On this particular page, there are not and select boxes or textareas. But this shouldn't stop it from working, right? $(":select").focus(function() { $(this).parent().find("span:first").css('display','inline'); }) $(":select").blur(function() { $(this).parent().find("span:first").css('display','none'); }) $(":textarea").focus(function()
[jQuery] datepicker won't clone
Hi, I'm having problem with cloning datepicker...it doesn't work after cloning...any ideas on how to make it work? function clone(){ $(".rows tr").each(function(){ var row = this; $(".date",row).datePicker().mask("99.99.9999"); }); } Btw: the mask function works on cloned elements...but datepicker won't fire... Thanks!
Jquery Sort Problem
Hi guys, I got a problem regarding sorting. I have a table with 30 rows. Some of them are hidden. What happens is that when I sort the tables, all of them get sorted. Even the hidden ones. As a result, I got a table with distorted tables. Can you please help a guy in need? Thanks, Carl
[jQuery] Too Much Recursion
Hi Guys, Seems I am getting an error which has been unresolved ? Not sure whether you can fix it. Refer to this page: http://docs.jquery.com/Too_much_recursion Can anyone solve this and/or is there a fix for it ? Thanks, Andy
[jQuery] cheap DUNK woman wholesaler (paypal accept)(www zhengtrade com
cheap DUNK man wholesaler (paypal accept)(www zhengtrade com ) cheap DUNK woman wholesaler (paypal accept)(www zhengtrade com ) cheap DUNK HIGH woman wholesaler (paypal accept)(www zhengtrade com ) cheap DUNK HIGH woman wholesaler (paypal accept)(www zhengtrade com ) cheap DUNK man wholesaler (paypal accept)(www zhengtrade com ) cheap DUNK woman wholesaler (paypal accept)(www zhengtrade com ) cheap DUNK HIGH woman wholesaler (paypal accept)(www zhengtrade com ) cheap DUNK HIGH woman wholesaler (paypal
[jQuery] Triggering dragging via scroll
Apologies if this should be posted in jquery-ui but it seems a bit 50/50. Is it possible to trigger dragging (jQuery-ui) behaviour from a scroll event? Paul.
[jQuery] How do I select objects of two different classes?
Hi, I want to define a click event for objects that either contain the class "classOne" or "classTwo". But this syntax $('.classOne .classTwo').click(function() { .. }); isn't working. What's the correct syntax? Thanks, - Dave
[jQuery] jQuery Multiple File Upload Pluginv1.29 Question
I am trying to use this and I have no clue how to upload the files. I am using ColdFusion and I am guess I can't get to the fieldnames because they are sent as an array. However, when I try to reference them as an array, I get a ColdFusion error : You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members. Any idea how I access the fieldnames for upload? Thanks... Paul C.
[jQuery] FlexiGrid Question
Hi All, I just want to ask how can I hide columns by default in the FlexiGrid. Thanks, Ulyssis
[jQuery] Security Error: Content may not load data from
When I execute the following code: ------ $.getJSON('/apps/sendnote.php?a=1&id=5', function (id, status_text) { / *func code here*/ }); ------ I get the error: ------ uncaught exception: Security Error: Content at https://www.mysite.com/ may not load data from http://www.mysite.com/apps/sendnote.php?a=1&id=5 ------ This happens in Firefox 2. How can I get jQuery to send the AJAX request through the proper protocol? It is a mixed bag as to whether the page it is called from will be http or https.
[jQuery] Animate size change after AJAX .load update
Hi folks, I'm not very experienced with jQuery and I've run into the end of my abilities. I've got a section of a page (well, a series of LI elements) that I updated with the .load() method. This works great. However, the new content is often large or smaller than the original, which leads to jarring jumps. The horizontal size is fixed, so I'd like to animate these elements from the old size to the new size. Any tips? Help is much appreciated.
[jQuery] jQuery Tooltip with image map
Is it possible to trigger the jQuery tooltip (and also jQmodal) from an area on an image map? Any examples around? Thanks! Chuck
[jQuery] character encoding problems using jQuery, MySQL and AMFPHP
Hello, I've read through everything I could find on encoding and UTF-8 in this group, and also on the web, but still can't find a solution to my problem. As you can see of the subject, I'm storing my data in MySQL (where everything has been set to UTF-8 unicode). On top of the database I'm using AMFPHP for communication between the database and the front-end (which is made with Flash), and the back-end (which is using jQuery). When I use the AMFPHP browser for testing the services, the results show
Making a reusable menu [SOLVED]
Hello all I'm new to Jquery, and was trying to do something I thought would be simple. I have a simple menu on the site I'm working on: <div id="link"> <dl> <dt>heading 1</dt> <dd> <ul> <li><a>Link1</a></li> <li><a>Link2</a></li> <li><a>Link3</a></li> </ul> </dd> <dt>heading 2</dt> <dd> <ul> <li><a>Link1</a></li> <li><a>Link2</a></li> <li><a>Link3</a></li> </ul> </dd> <dt>heading
[jQuery] jCarousel objects
Greetings, This seems like a simple question, but I haven't been able to find/ figure out an answer for it. I'm working with jCarousel, and would like to know how to refer to a jCarousel object. Consider the following example: <script type="text/javascript"> $(document).ready(function() { // create a new carousel $('#mycarousel').jcarousel(); // add to this carousel add_item_to_carousel(WHAT GOES HERE?); // I've tried things like $('#mycarousel'), and '#mycarousel' }); </script> <script type="text/javascript">
[jQuery] Nearest enclosing element
I've got several situations where I need to find the nearest enclosing element of a given type. For example, I need to find the TABLE enclosing a TD element, but there may be nested tables. Or I need to find the TD element that was clicked on, where the event target may be that TD or any child of the TD. I've come up with 2 possible solutions. I'm not sure which to prefer, or if there's a better solution. jQuery.fn.nearestAncestor = function(filter) { if ( this.is(filter) ) { return this; } return
[jQuery] jQuery.validate.js - validate - Add height to containing DIV on validation
Hi, I am fairly new to jQuery and am using the validate plugin with success. But, my form is inside a relatively positioned DIV with height and width. When my form is validated and the error class is appended, the form elements overflow the containing DIV. What I would like to do is change the height of the containing DIV when the form is validated. No need to get complicated, I would be happy to add a height that is the max needed (e.g. the amount needed if every form element were skipped). I appreciate
[jQuery] scroll follow not working
hello I have this page here http://www.fortheinjured.com/default_redesign.asp, where I am trying to use the scroll follow from http://www.net-perspective.com/products/scroll-follow/ It seems to be partially working. It's the red button on the right, at top. If I scroll down it goes up instead and seems to get stuck at the top.. Any ideas? Thanks!
[jQuery] FF3 for mac rendering diff than FF3 on PC
Does anyone know of a javascript function or plugin to find the mac version of FF3. I know you can find the FF3 version but I need the FF3 mac version so I can adjust the code accordingly. Man what a hassle. I loved FF until they got their releases all messed up just like IE. I am a professional web application developer and now I have to code for 4 different browsers. These people need to get it strait the first time before they output a new browser.
how to get X Y coordinates with jquery
How can I get xy coordinates of an element? I am usign sortables, I would like to get the xy position of the element onStop:() in the sortable. I used the serialize() to no avail for setting div layouts on cookie retrieval I have not noticed a built in function from jquery to get or set coordinates. Thanks for ideas.
[jQuery] jcarousel issues with safari solved (?)
Hi all! I noticed that even in the latest version of jcarousel there is an issue with safari if you load the jcarousel container div with an ajax call... I think that the fix I used can be useful: I replaced $.fn.jcarousel = function(o) { return this.each(function() { new $jc(this, o); }); }; with: $.fn.jcarousel = function(o) { return this.each(function() { var __jc = new $jc(this, o); if ($.browser.safari) __jc.setup(); }); }; Thanks, Palicao http://www.basmatitree.net
Drag / Drop - Save Position
Is it possible to drag an set of objects into position and save their state? Save their coordinates? Thank you in advance.
[jQuery] jQuery.ajax() cross-domain JSONP via POST
Hi there, I've spotted what appears to be a bug in the jQuery.ajax() code, but I wanted to touch base here to verify that I am not missing something. I am attempting to POST some JSON data across domains via jQuery's low- level .ajax() call; since it is cross-domain, I have to use the JSONP dataType. Here's the options for my call: options = { type: 'POST', url: query_url, dataType: 'jsonp', data: JSON.stringify(query), processData: false, contentType: 'application/json', success: that.processResponse,
[jQuery] jQuery Positioning Off - Help Needed!
I'm in the middle of beta testing a new Intranet for my company. I've heavily relied on jQuery and various jQuery plugins for this project. Mostly, it has been a success. There are two issues that have me scratching my head, though. I'll separate them into two different threads, because they are unrelated. The first item is a livesearch that I've built. When a user starts typing, a box appears just under the input box and shows them the top matches. The positioning code had been based on Google's
[jQuery] Replace p with textarea
Hi, I'm trying to make an admin interface where you can just click on a text and it is replaced by a textarea, with jQuery. How can I do that? What I already have done is, instead of the text of the p-tag, it inserts a textarea INTO the p tag, but I want this textarea REPLACING the p-tag. Is that possible? If so, how? Can someone help me? Sorry for my bad english! Thanks for help, Michael
[jQuery] How to get last url ?
Hi guys, For instance, user click a link on Site1 and the browser bring user to Site2. In Site2, how can I use jquery to get the url of Site1 ? Appreciate if anyone can help here. Thanks ! regards, Mark -- View this message in context: http://www.nabble.com/How-to-get-last-url---tp18796221s27240p18796221.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] jCal Calendar & jquery version 1.2.6
Currently developing a project using the latest release of jquery (1.2.6). I'm also using the jCal calendar plugin. I have been having some quirky issues with it in IE. The problems seems to stem from the fact that jCal (at least on the demo page) runs of jquery 1.2.3 to work properly. I would switch to the older version but it will break much of my other code. Suggestions?
[jQuery] How To Direct tv to you home free !!!
<div dir="ltr"><div>How To Direct tv to you home free !!!</div> <div><a href="http://direct-tv-guide.blogspot.com/">http://direct-tv-guide.blogspot.com</a></div></div>
[jQuery] validate plugin error message order
Hi All, When listing all the validation errors in a block (not inline) I noticed that the messages don't always display in the order in which they are defined. I was wondering if there is a way to get them to do so? Thanks.
[jQuery] how to refer the whole group within an event function
hi all is that possible to refere the whole gruop in an event function. such as the following code, I have to repeat $('#tab_single a') in click event function. is there a better way to do than that? $('#tab_single a').click(function(){ browse_rec($('#tab_single a').index($(this))); }); thank you in advance! jack
[jQuery] IE7 isn't playing nice with jQuery.next()
I'm trying to target the IMG element in this HTML by traversing from the select input and apply either a show() or hide(). Works beautifully in FF, but in IE7, I get an error "Object doesn't support this property or method". Here is the basic code: [ HTML ] <select> <options></options> </select> <input /> <img class="trigger" /> [ JS ] $j('#ctype').change(function(){ if ($j(this).val() == 'P') this.next('img' + '.trigger').show() }); Has anybody dealt with this? It's such a simple operation, what's
[jQuery] jCarousel - latest version does not work with Safari
I have built a site with jCarousel (Version: 0.2.3) and JQuery 1.2.6. It works great everywhere except on Safari (v. 3.1.2). I had thought version .2.3 fixed Safari. Any help would be appreciated. Currently, I have a browser check in place to prevent it from "trying" to load on Safari because although it fails, I'm left with an empty space in the footer. If you like I could temporarily turn it on for Safari so you can see it in action. Domain: faithandfamilylive.com Notes: horizontal carousel above
[jQuery] jCarousel add function
Greetings, I'm trying out jCarousel. It's pretty cool; definitely visually appealing! I was able to get a basic carousel (items are created by static html) implemented with out problems. I then moved on, trying to use the 'add' method provided by the library so that I would eventually be able to add items with an external php script. However, I can't seem to get the 'add' method working. Here's a code snippet: <script type="text/javascript"> $(document).ready(function() { $('#carousel').jcarousel({
Next Page