[jQuery] Quick question about the ".each()" function

2007-04-05 Thread Yansky
Hi, I'm trying to get the text from an array of elements and return it as an array. I've used the following code, which seems to work fine: var theData = $('.wordbreakfield'); $.map(theData, function(i){ return i.childNodes[0].nodeValue; }); My question is, why can't I just do the following?

[jQuery] Re: Interface Slider plugin problem

2007-04-05 Thread Aditya Mooley
Thanks for the reply. But that didn't solved the problem. After a lot of debugging in islider.js file we noticed that it's the indicator GIF image which is creating this problem. I had to add the width of indicator image in the width of slider image to make it work correctly. So, if I need the sli

[jQuery] Re: problems with the starterkit

2007-04-05 Thread John Resig
$("#form").reset() should work if it is a correct form. (We attempt to trigger the default event wherever possible.) O wow, I just opened up the starterfile zip - it uses a version of jQuery that's pre-dates jQuery 1.0! Yikes. No wonder the code was acting strange for you. JJ - Try usin

[jQuery] Re: xpath question

2007-04-05 Thread Benjamin Sterling
Blair, Thanks for the heads up, much appreciated. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Re: UNfocus() ?

2007-04-05 Thread Kenneth
On 4/5/07, Kenneth <[EMAIL PROTECTED]> wrote: I am trying to emulate the :focus selector for IE, and I have succeeded in the initial aspect of that with the following: $inputs.each(function(){ $(this).focus(function(){ $(this).addClass('focus'); });

[jQuery] UNfocus() ?

2007-04-05 Thread Kenneth
I am trying to emulate the :focus selector for IE, and I have succeeded in the initial aspect of that with the following: $inputs.each(function(){ $(this).focus(function(){ $(this).addClass('focus'); }); }); However, once the focus leaves the field, the

[jQuery] Re: TableSorter issues: special characters, mixed data

2007-04-05 Thread Kim Johnson
Err... I take that back. -the only way for the page to not have javascript errors is to put in the ExtractionType line, due to the special characters in the title. -however, by doing this, any time you sort any other field, it still is sorting by title, not the field you actually clicked. ---

[jQuery] Re: TableSorter issues: special characters, mixed data

2007-04-05 Thread Kim Johnson
Super close, but not quite! :) http://anime-planet.com/users/reviewindex.php?usersid=1 $("#userreviewtable").tableSorter({ sortColumn: 'title', stripingRowClass: ['alt2','alt'], stripeRowsOnStartUp: true, textExtractionCustom: [ [2,'integer']

[jQuery] Re: jQuery Powered Sites - The List Continues to Grow

2007-04-05 Thread Nate Wienert
http://www.gamegum.com and http://www.toongum.com both use jQuery extensively for AJAX, effects, and DOM manipulation. On Apr 5, 4:04 pm, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > Please release it. While Ext is wonderful, it is relatively large, and > the LGPL license can be a little annoying to

[jQuery] Re: xpath question

2007-04-05 Thread Blair Mitchelmore
I heard John talking about adding in the "/modules/module[1]" syntax on the list a little while ago for jQuery 1.1.3 but that might have been pushed back to 1.2 -blair [EMAIL PROTECTED] wrote: Ok, after re-reading http://docs.jquery.com/DOM/Traversing/Selectors I figured out that I should b

[jQuery] Re: problems with the starterkit

2007-04-05 Thread Mike Alsup
That looks like an error in the tutorial. It should be: $("#form")[0].reset(); I got stuck in the following section, couldn't make it work: $(document).ready(function() { // use this to reset a single form $("#reset").click(function() { $("#form").reset(); }); }); I modified

[jQuery] Re: EXTjs.com

2007-04-05 Thread Glen Lipka
On 4/5/07, Ariel Jakobovits <[EMAIL PROTECTED]> wrote: Just curious, before I jump into developing a new project using Ext, from some of the real gurus on this list, what are the pros and cons of using this new lib? I'm not a guru, but I have some experience with it. The company I am workin

[jQuery] Re: EXTjs.com

2007-04-05 Thread Rey Bango
Ext is an amazing library and Jack Slocum has done some good work there. Pros: - Rich UI suite - Solid source code base - Good community on the Ext side Cons: - Fairly large library - Documentation is still being developed - If you don't use Ext-all (the complete thing), you'll have to figur

[jQuery] Re: EXTjs.com

2007-04-05 Thread Ariel Jakobovits
Just curious, before I jump into developing a new project using Ext, from some of the real gurus on this list, what are the pros and cons of using this new lib? - Original Message From: Glen Lipka <[EMAIL PROTECTED]> To: jquery-en@googlegroups.com Sent: Thursday, April 5, 2007 10:07:36

[jQuery] problems with the starterkit

2007-04-05 Thread [EMAIL PROTECTED]
Hi, I was playing with the starterkit: http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery I got stuck in the following section, couldn't make it work: $(document).ready(function() { // use this to reset a single form $("#reset").click(function() { $("#form").reset(); }

[jQuery] jQpie php to ruby/python conversion wanted.

2007-04-05 Thread Richard Thomas
Looking for someone to do and help maintain equivalent ruby and python versions of jQpie. I am going to take each submitted conversion and post it on the jQpie website for review, the code that is chosen will get $50 US right away for helping out and might be bribed in the future ;) I will also

[jQuery] Re: response handler scope

2007-04-05 Thread Ariel Jakobovits
sure! good idea. - Original Message From: Jörn Zaefferer <[EMAIL PROTECTED]> To: jquery-en@googlegroups.com Sent: Thursday, April 5, 2007 5:14:45 PM Subject: [jQuery] Re: response handler scope Ariel Jakobovits schrieb: > I have edited my jquery.js file to look like this: > > // If a l

[jQuery] Re: response handler scope

2007-04-05 Thread Jörn Zaefferer
Ariel Jakobovits schrieb: sorry, forgot to add this edit too: (note the extra 'scope' param) That isn't really necessary either. Check the docs for all possible $.ajax options. ajaxSettings specifies only those that don't default to false or null. Or you set it per default to window, that w

[jQuery] Re: response handler scope

2007-04-05 Thread Jörn Zaefferer
Ariel Jakobovits schrieb: I have edited my jquery.js file to look like this: // If a local callback was specified, fire it and pass it the data if ( s.success ) { if ( s.scope ) { s.success.call( s.scope , data

[jQuery] Re: New Field Plug-in...

2007-04-05 Thread Jörn Zaefferer
Mike Alsup schrieb: I would opt for a new method name so that existing methods can be deprecated and eventually removed. This is why I'm not a big fan of overriding "val". I think it's too ingrained at this point and a behavior change would be trouble. Even though the return type would be th

[jQuery] Re: response handler scope

2007-04-05 Thread Ariel Jakobovits
sorry, forgot to add this edit too: (note the extra 'scope' param) ajaxSettings: { global: true, type: "GET", timeout: 0, contentType: "application/x-www-form-urlencoded", processData: true, async: true, data: null, scope: null }

[jQuery] Re: response handler scope

2007-04-05 Thread Ariel Jakobovits
I have edited my jquery.js file to look like this: // If a local callback was specified, fire it and pass it the data if ( s.success ) { if ( s.scope ) { s.success.call( s.scope , data , status );

[jQuery] Re: EXTjs.com

2007-04-05 Thread Jörn Zaefferer
Roger Ineichen schrieb: Subject: [jQuery] EXTjs.com http://extjs.com Just launched. fyi. Wow, very interesting work. Hmm, it's not valid CSS, HTML and does not fit if you need to support WAI or 508 standards. Does anybody know if Ext will support accessibility in the future? JQuer

[jQuery] Re: THICKBOX doesnt work when on line...why?

2007-04-05 Thread spinnach
as much as i can see, thickbox.js is not in the same folder as your page (and jquery.js). my suggestion would be to put all javascript in a folder in your root folder (eg. '/js/') and then reference it with absolute urls (/js/thickbox.js, /js/jquery.js). also, there's an unclosed $(document)

[jQuery] Re: THICKBOX doesnt work when on line...why?

2007-04-05 Thread Alexandre Plennevaux
1./ your link to thickbox.css is 404 2/ your link to thickbox.js is 404 3./ you've started and not finished a jquery initialisation : $(document).ready(function(){