[jQuery] How to select element id that contains [] chars
I've got a little problem here that would seem simple to sort out but has been rather stubborn. I'm trying to loop through a bunch of hidden text fields and grab their value. They look like so; <input type="hidden" id="scheduleHours[0]" name="scheduleHours[0]" value="7.5" /> <input type="hidden" id="scheduleHours[1]" name="scheduleHours[1]" value="7.5" /> <input type="hidden" id="scheduleHours[2]" name="scheduleHours[n...]" value="7.5" /> These are the product of a Java Server Faces datalist (Tomahawk
[jQuery] ColdFusion
Hi, I am just arrived in this maillist and in Jquery.....and it was a bad choice to wait so long for strating with the amazing jQuery. I wrote down a set of custom tag for easy implementation in CF of the Klaus Hartl Tab Plug-In. If someone is interested to that and to exchange CF implementatio of jquery library please send me a mail. Bye Andrea
[jQuery] [ANNOUNCE] tablesorter 2.0 released
Hi List, I just released the 2.0 version of tablesorter. Here are the highlight for this release: * Multi-column sorting * Parsers for sorting text, URIs, integers, currency, floats, IP addresses, dates (ISO, long and short formats), time. Add your own easily * Support for ROWSPAN and COLSPAN on TH elements * Support secondary "hidden" sorting (e.g., maintain alphabetical sort when sorting on other criteria) * Extensibility via widget system * Small code size (7,4kb packed) * Documentation Get it
[jQuery] Plugin: frameReady updated. Now with better docs and demos ;)
I just updated frameReady to support loading script and stylesheet files in other frames, including nested, dynamically created iframes if necessary. frameReady loads jQuery in the target frame(s) by default, so you can run any jQuery function in the target frame as if you were dealing with the local document. $("p") instead of $("p", top.mainFrame.iFrame.document) for example. You can also load jQuery plugins and stylesheets and any functions you want to run will wait until those files are loaded,
[jQuery] JSON String problem
has anyone had any problem with JSON whereas a string is "063" and it gets translated to a number, in this case "51"??? The response from a call has the appropiate value [063] but I have noticed that since it is not in string notation ["063"] when used it gets converted. I would rather not have to re-write my sql to force " " in it but want JSON to recognize this as a string value and numeric. ~Terry
[jQuery] Quick question...
We all know & love jQuery, but something that I've been wondering for a while now... not sure if it's feasible or not, but I'll ask anyway =). Is there any sort of HTML parser for PHP that's similar to jQuery's selectors? ie: $('div.class').html()...... but a PHP version? Thanks!
[jQuery] Basic JSON help
Hello, I am new to jQuery, and have started to play with JSON,but I need some info about how I refer to the JSON Object once it is returned from the server. I know I can loop through the contents of the object, and I can use json.count, but I am really unsure about the correct syntax to target the data that I need. Can anyone provide a link to a tutorial or some other help? Here is the JSON object that I need to return from the server: {"models": ["MDX SUV", "RDX SUV", "RL Sedan", "TL Sedan", "TSX
[jQuery] Problem with jQEm and scrolling divs on FF
Hi, I've just added the ability for jScrollPane to work with jQEm so if a user changes the text size in their browser the jScrollPane automatically updates itself. In doing so I think I've come across an issue with jQEm and scrolling divs in Firefox (PC). An example is worth a thousand words so check this example page to illustrate the problem: http://kelvinluck.com/assets/jquery/jQEmIssue/jQEmBug.html Any ideas of what is happening? Cheers, Kelvin :)
[jQuery] n00b question on $().clone
hi, how does one check for the presence of a clone? i need to drag copies of items from one list to another, then make the second list sortable. so, i've been using the revert:true inside the draggable and on drop creating a clone of each item - but, i want to prevent cloning the same item twice. i want to check to see if an item's clone exists before creating one, and only do so if it doesn't. i've been trying this kind of thing: if ( $j('#sort_list').find($j(drag).clone()) ){ $j(drag).clone().appendTo(this);
[jQuery] New jQuery Plugin - jQTreeTable unobtrusive Treetablemaker
Hi all, Hope this hasn't come out twice, if it has, apologies. I needed a treetable for a project I'm doing, but nothing I had seen quite fitted the bill, so I made my own, and then adapted it so it could be used as a plugin. This is my first plugin, so be kind, any help making it more efficient/jquery-like would be most appreciated. Basically, you build an ordinary html table with the styling you want. You wrap a single tbody around the rows you want to have expanding/ collapsing and give it a class
[jQuery] problem with ajax success
I have this : function verif_subdomain(name) { var r = ''; $.ajax({ type: "POST", url: "verif_subdomain.php", data: "subdomain=" + name, success: function(msg){ r = (msg==1)?'ahah':'plop'; } }); return r; } I search to attrib result of verif in : r : but r is not modified and stay empty. Do you know if it possible to change value and she stay after ajax call ? (I have see the possibility
[jQuery] animate function
hi, I was to use the function "animate (params, speed, easing, callback)", and have a problem, using jQuery 1.1.3.1, in the "Internet explorer" does not work, but using the version jQuery 1.1.2 already works well... is error of jquery or will be error mine?
[jQuery] Issue with .ajax incrementally submitting.
Folks, I'm fiddling with jquery for the first time and have an issue: var dnsData="smode=clearnode&hn="+hn+"&oldip="+ip+"&entry="+entry; $.ajax({ url: "UpdateEntry", type: "POST", dataType: "html", data: dnsData, success: function(msg){ alert("DNS Update Succeeded"); }, error:
[jQuery] Function Outside Bound Event
Hopefully my explanation of this problem will make sense, but here goes. I am using some jQuery to create a function that passes data to a Flash movie (via ExternalInterface). I have bound a click event to three images, so that when clicked, a parameter is sent to a function within the Flash movie, and Flash takes it from there. ----------------- function venueSwap(venue) { myFlashMovie = document.getElementById("mySlide"); myFlashMovie.showMe(venue); //showMe is the actionscript function inside
[jQuery] how to call selected object inside function calling
Hi, I'm quite new to jQuery. I have one problem in my JS scripts and I don't know how to solve it. I have a cripts which binds click event of A (class delete_photo) with function delete_photo. This function needs to know who called it, or get the href attribute (to be able to use this href in ajax calling). I have tried two ways: 1) $('.delete_photo').bind('click',{ url: $ ('.delete_photo').attr('href') }, delete_photo); 2) $('.delete_photo').bind('click',{ url: this.attr('href') }, delete_photo);
[jQuery] Basic JSON help
Hello, I am new to jQuery, and have started to play with JSON,but I need some info about how I refer to the JSON Object once it is returned from the server. I know I can loop through the contents of the object, and I can use json.count, but I am really unsure about the correct syntax to target the data that I need. Can anyone provide a link to a tutorial or some other help? Here is the JSON object that I need to return from the server: {"models": ["MDX SUV", "RDX SUV", "RL Sedan", "TL Sedan", "TSX
[jQuery] stupid dev tricks: gzipping jQuery without mod_deflate
Hi, all! i'm working on re-designing the web site for my mother's company, which was horribly neglected/abused by the previous webmaster, and i came across an interesting problem... A part of the refactoring is to use jQuery for parts of the site. However, since all of the pages use the same site layout template (which includes the headers/script tags) yet most of the site won't actually use the JS features, i wanted to make the jQ download as tiny as possible. Unfortunately, i don't have admin rights
[jQuery] Array of numbers in contains()
Hi, I'm appending a word to a number like so: $(".field-item:contains('25')").append(': Extreme'); My question is, given that the numbers 20-25 all should append 'Extreme', is there an easier way than doing the following? $(".field-item:contains('25')").append(': Extreme'); $(".field-item:contains('24')").append(': Extreme'); ... $(".field-item:contains('21')").append(': Extreme'); $(".field-item:contains('20)").append('': Extreme'); Maybe using an array or range function? Though I may be thinking
[jQuery] [ANNOUNCE] New jQuery Plugins Found
AjaxRain has really been digging up some great plugins which I never see announced. Check these out: jQuery Image Strip http://blog.joshuaeichorn.com/archives/2007/01/11/jquery-image-strip/ jQuery Share It! http://www.joanpiedra.com/jquery/shareit/ jQuery Thumbs http://joanpiedra.com/jquery/thumbs/ jQuery flickrGallery http://ptflickrgallery.sourceforge.net/web/index.html
[jQuery] <caption> supported?
Hey, I am trying to build a table dynamically, but jQuery keep erroring out on $('<table>').append('<caption>'); Is caption supported? $('<table>').append('<tbody>'); works fine. <br clear="all"> -- Benjamin Sterling <a href="http://www.KenzoMedia.com">http://www.KenzoMedia.com</a> <a href="http://www.KenzoHosting.com">http://www.KenzoHosting.com</a>
[jQuery] ajaxComplete() question
I'm still a newbie with jQuery, as such, I'm still catching up with terminologies and the jQuery "language" Exploring the ajaxComplete() event handler, it seems to me that the prototype description of its callback function parameters are reverse? For example, the docs for ajaxComplete( callback ) says: Attach a function to be executed whenever an AJAX request completes. The XMLHttpRequest and settings used for that request are passed as arguments to the callback. with the example: $("#msg").ajaxComplete(function(request,
[jQuery] About the author of the recent jQuery article - Please Read
A couple of people have posted about the recent jQuery writeup by Simon Willison: http://simonwillison.net/2007/Aug/15/jquery/ Just to let everyone know, Simon Willison is a BIG WIG in the JavaScript community. He's been a long long time JS coder - blogging and releasing stuff back before it was cool - he helped to co-create Django, worked at Yahoo, and now does freelance work (doing work for Wordpress, Mozilla, and others). As John said, "he's got huge cred in the JS community". As of today his
[jQuery] Selector Question should be easy (continued with online example)
This doesnt work http://www.whatbird.com/wwwroot/Components/jQuery_How_Do_I_not.html This works http://www.whatbird.com/wwwroot/Components/jQuery_How_Do_I_not2.html The first example uses John's example for using not. Klaus your's didnt work either. Is this my stupidity again? Mitch
[jQuery] Help with safari :selected?
Here is little script that works fine with IE and firefox, but not with Safari(3.0.3 windows Beta): var lasku_valittu = $("option#choise1:selected").length; if( lasku_valittu >= 1){ alert('finds!'); } Problem with safari seems to be :selected. Without :selected script works just fine, but i really need it. Is there some other approach to make script work with safari also?
[jQuery] Trick to speed the display of a jquery enhanced page ?!
Hello, I've modified a page so instead of putting all the <script src ... for all the plugins I use (rating+dimension+meta +tablesorter...) in the head, I only kept the jquery in the head and loaded the others like that (exemple for tablesorter): <script type="text/javascript"> function initTableSorterRelated() {....} jQuery(function(){ if(!$.isFunction($.fn['tablesorter'])) { jQuery.getScript('/path/jquery.rating.js', function() { initTableSorterRelated (); }); } else initTableSorterRelated ();
[jQuery] True overlay?
Hello, I am looking for a plugin for loading external page into a overlay like jqModal does, but when I click on the link in the overlay, I only want the overlay's content to be changed. Are there such plugin now? Thanks.
[jQuery] Draggables help
As I just can't track down a javascript slider that can cope with two handles satisfactorially, I am trying to implement my own using just the Draggable functionality of the interface library. I need to make a slider for selecting a minimum and maximum limits of a range of values that: * cope with 2 handles in the slider * can snap the handles to notches while dragging, the size of which doesn't change based on the position of either of the sliders * will not allow the handles to either pass each
[jQuery] Tweaks to jCarouselLite
Hi, I've just tried to implement jCarouselLite [1] on a project I'm working on. Nice plugin - perfect for my needs of a lightweight carousel for this project :) But I came across a couple of problems. For some reason, when I set circular to false the carousel stopped animating for me. Not sure why as it works on the example on the authors site - maybe because my carousel had more items in... Or maybe because I have more than one carousel on the page... I also wanted to update the state of the previous
[jQuery] IE Errors
http://www.apex-wowguild.com/dev/ everything work great in FF but IE Thickbox boes not always close when it should. Tabbs does seem to work at all and i do have teh bgiframe loaded. my caledar does not also working. Anyone knoe anything on these issue, my HTML is not totally valid but the invalid part does not look like it would effect anything. -- View this message in context: http://www.nabble.com/IE-Errors-tf4277548s15494.html#a12175376 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] prototype.js and jquery.js conflict problems? (Lightbox and Thickbox) simple?
I will try to be as specific as possible in describing the issue. I am running both lightbox (which uses prototype and scriptalicious) and thickbox (which uses jquery.js) on my site. lightbox 2 works fine. Lightbox 2: huddletogether.com/projects/lightbox2/ thickbox is installed but works fine. Thickbox: jquery.com/demo/thickbox/ Implementation instructions are on the sites above (respectively). I have double checked they are both installed correctly, I think they are! None of the scripts work when
[jQuery] Updated Plugin: jQuery Timers. jQuery-oriented setTimeout/setInterval
I released this a couple days ago but as was discussed on a previous thread <http://groups.google.com/group/jquery-en/browse_thread/thread/ ea0e4f59bb87cf6e> there were some method naming issues and I also wanted to add a feature that another setInterval wrapper had. Lucky I did, because I discovered a preexisting bug which had gone unnoticed and fixed in the new release. The plugin has been renamed along with the methods it defines. The url for the source file has been changed as well to mirror
[jQuery] Error with jquery interface plugin
I'm using the window script here http://interface.eyecon.ro/demos/windows.html It works fine on one of my implementations, but on another when I click to trigger the window, the first time it works fine.. but when I close it... it appears to close twice, by flickering.. then when I open it again, it opens several times.. I get this error: jQuery.transferHelper has no properties (no name)()jquery.js (line 22) e()jquery.js (line 11) (no name)()jquery.js (line 22) (no name)()jquery.js (line 22) [Break
[jQuery] More (or less) than I bargained for
I need some brief help. I am developing a web site and recently received a small app that builds a quiz and answers. Users who take the quiz receive a detailed answer based on their questions and the answers that I have recorded. The user submits a First Name and an email address so that the analysis can be sent. Here's the problem. The script does not contain the code to send the email either to me or to the user. Although I dabble in code, I have not used jQuery. I believe the code will be rather
[jQuery] NEWS: Publisher posts big chunk of Learning jQuery Chapter 7 online
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hey everyone, </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I just noticed that our publisher
[jQuery] Interface slider - get value of multiple handles
Hi there! so...I've been looking at the interface slider (http:// interface.eyecon.ro/demos/slider.html) I'd like to use two horizontal sliders but how do I get the current value for them, the onSlide function only seems to display the value for the slider that was changed last, I wan't to be able to pull the values for both handles whilst dragging one of them.... /Joel
[jQuery] Selector question should be easy
Does anyone have a way to select "all divs except one with a specific ID?" I want something like $(* :not("myID")).click or $(div :not("myID")).click I have tried :not but have not been able to get it to work on IDs, seems that it just works on elements. thanks Mitch
[jQuery] Delayed ready configuration
Good <insert time of day here> jQuery. I have a site where I have a series of animations that need to run on load. I also have a large number of other events that happen on load to setup various other effects and animations and modal popups and other goodness. Individually, I have all of them working (yay!). However, when I put them all together in the page the opening animation is very herky jerky (boo!). I'm assuming that's because the animation happens on ticks, and ticks are delayed by other
[jQuery] jQuery Validation Fails in IE
Hi; I implement the jQuery Validation plugin(http://bassistance.de/jquery- plugins/jquery-plugin-validation/) to my order form which you can see in http://nexus.di-tasarim.com/index.php?option=com_nexus&act=gallery&task=order&id=32 it works great in Firefox but I cannot succeed to work in in Internet Explorer checked again and again every line of code but cannot find anything wrong, please help me about that tHanks...
[jQuery] How to test if plugin X is loaded ?
Hello, I'd like to be able to test if a specific plug in is loaded before calling some of its properties (to avoid throwing an error). Second question, is it possible to load it if missing ? Use case: I have a bit of template that have a sortable table of users, and another one that list groups. They both have a sortable table, and might be included into the same page or used separately. I'd rather not load on all the pages the sortable table plugin, so I have to be able to detect on each of these
[jQuery] jQuery Form Plugin Repository: Compressed versions?
Anyone know where to get the compressed version of this plugin: http://www.malsup.com/jquery/form/ ???
Next Page