[jQuery] RE: select all checkboxes

2006-09-10 Thread Nilesh Patel
hey, try below plug ins $.fn.checkedZ = function() { return this.each(function(){ this.checked = true; }); } $.fn.uncheckedZ = function() { return this.each(function(){ this.checked = false; }); } then use it like so... use for

Re: [jQuery] [NewBie]Is there something basic functions/classes extension in jQuery, just like Array, String, etc

2006-09-10 Thread limodou
http://code.google.com/p/jbasicext/ I submited a test.html page. -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group/ulipad ___ jQuery mailing

[jQuery] Bug in expression?

2006-09-10 Thread Mohsen Saboorian
Hi, I have a node hierarchy like this: div class=a div/div div/div /div $(div.a/div) will select (correctly) the two child divs while $(.a/div) selects three divs (also selects parent div). Is this a bug? ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] select all checkboxes

2006-09-10 Thread Jörn Zaefferer
Nilesh Patel wrote: hey, try below plug ins $.fn.checkedZ = function() { return this.each(function(){ this.checked = true; }); } $.fn.uncheckedZ = function() { return this.each(function(){ this.checked = false; }); } You could

Re: [jQuery] Ajax Throbber How-to?

2006-09-10 Thread Felix Geisendörfer
One thing I really hate about AJAX, is that everybody put's those semantically meaningless activity indicators in their html layout. When you disable css you end up with a mess of animated gif's which is really annoying. I don't blame you, but it's a very nice move towards accessibility and

Re: [jQuery] little help

2006-09-10 Thread kevdotbadger
Ah yes, i did have a look at the interface plugin. Very nice stuff. I hear that there going to be implimented into qjuery? so there will be no need for the 2 files? is this true? thanks again :) John Resig wrote: Also 2 more thing. could i put this into a new .js file and link it in the

Re: [jQuery] OT: technique to pass values to JS/JQuery through HTML

2006-09-10 Thread Klaus Hartl
Arash, you could as an alternative use the class attribute for that, but theres no need to feel false about the id as well. From the HTML Spec: The id attribute has several roles in HTML: * As a style sheet selector. * As a target anchor for hypertext links. * As a means to

Re: [jQuery] Bug in expression?

2006-09-10 Thread Mohsen Saboorian
Sorry, my mistake! I had another element in that page with the same class. On 9/10/06, John Resig [EMAIL PROTECTED] wrote: Hmm... I can't duplicate this. I somehow suspect that either: 1) You're using an old version of jQuery, try upgrading to jQuery 1.0.1:

[jQuery] datePicker plugin IE memory leak fixed

2006-09-10 Thread Kelvin Luck
Hi, I have just released an updated version of my date picker plugin: http://kelvinluck.com/assets/jquery/datePicker/ Thanks to Sean McKenna who reported a memory leak in IE. This turned out to be a pretty major one but relatively easy to fix and so I'd recommend anyone using the date picker

Re: [jQuery] datePicker plugin IE memory leak fixed

2006-09-10 Thread Milian Wolff
Hello Kelvin. I just want to take the oportunity to give you some suggestions for features I miss in your date picker: I would need a possibility to change the month and year in the popped up window: | | January 2006 | | Something like this, where would switch to the next month and

Re: [jQuery] datePicker plugin IE memory leak fixed

2006-09-10 Thread Kelvin Luck
Hi Milian, Thanks for the feedback. This is something that has been requested quite a few times. However, I'm still not convinced by the usefulness of it, I have never needed this functionality on a page I have made or used. Since it seems to be a popular request I'll consider adding it in in

Re: [jQuery] little help

2006-09-10 Thread Matt Stith
No, i think it is going to stay as a plugin. You can move the contents of the interface.js file into your jquery file, and that would do the same thing.On 9/10/06, kevdotbadger [EMAIL PROTECTED] wrote: Ah yes, i did have a look at the interface plugin. Very nice stuff. I hearthat there going to

Re: [jQuery] Ajax Throbber How-to?

2006-09-10 Thread Rey Bango
Thanks for the heads up Felix. I really understand your point. Would it make sense then to drop in a div into the html layout and then dynamically add the the image as needed or do you suggest doing both on the fly? Rey... Felix Geisendrfer wrote: One thing I really hate about

[jQuery] prototype $H()

2006-09-10 Thread Will Arp
Does jquery have something like $H() ? I'm trying to convert a prototype based script var a = $H({ a1: [1, 2], a2: [3, 4], }); and a.each(function(n) { var v = $H(n).value; }); how would I do this in jQuery? thanks, Will

Re: [jQuery] prototype $H()

2006-09-10 Thread Michael Geary
Does jquery have something like $H() ? I'm trying to convert a prototype based script var a = $H({ a1: [1, 2], a2: [3, 4], }); and a.each(function(n) { var v = $H(n).value; }); how would I do this in jQuery? What does it do? -Mike

Re: [jQuery] Problems getting border width

2006-09-10 Thread Dave Methvin
I found a solution to get the border width in pixels independent from how its assigned. Check the source code at http://sorgalla.com/test/borders.html Wow, I missed that...it's like the same swap trick John used to get element width and height. This should also work for padding, but not for

Re: [jQuery] Ajax Throbber How-to?

2006-09-10 Thread Felix Geisendörfer
I definitely mean the div the image. Because divitus is a really terrible problem with modern sites as well, so every div you can remove you should try to get rid of ; ). but I'm curious as to how many sites that have taken the full CSS plunge are accommodating for this. Not a lot. I am a

Re: [jQuery] Interface Draggable in a container

2006-09-10 Thread Yehuda Katz
Anyone have any idea about this. Resolving this issue is honestly the difference between using Prototype and jQuery for a particular project.On 9/8/06, Yehuda Katz [EMAIL PROTECTED] wrote:Stefan or anyone who can answer this, I'd like to use a sortable inside a container a la Google Maps.

Re: [jQuery] [EMAIL PROTECTED]'foo'] doesn't works

2006-09-10 Thread Citrus
I put in a bug for this (#194), and a proposed solution. I would have committed it myself, but I don't have an svn acccount. :) Hopefully, John or someone will take a look at it, and get the fix in there. Dimitar Spassov wrote: I have the following code: $([EMAIL

Re: [jQuery] prototype $H()

2006-09-10 Thread Dave Methvin
var a = $H({ a1: [1, 2], a2: [3, 4], }); a.each(function(n) { var v = $H(n).value; }); how would I do this in jQuery? What does it do? $H() is prototype's Hash creator. http://www.sergiopereira.com/articles/prototype.js.html#Reference.Hash Here is the

[jQuery] Equivalent to jQuery's Form.Observer

2006-09-10 Thread Yehuda Katz
Is there a jQuery alternative to Prototype's Form.Observer?http://www.sergiopereira.com/articles/prototype.js.html#Form.Observer -- Yehuda KatzWeb Developer(ph)718.877.1325 ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Equivalent to jQuery's Form.Observer

2006-09-10 Thread John Resig
Is there a jQuery alternative to Prototype's Form.Observer? http://www.sergiopereira.com/articles/prototype.js.html#Form.Observer Man... just because something is documented, doesn't mean that its clear as to how its actually used. Implementation of an Abstract.TimedObserver that monitors any

Re: [jQuery] Equivalent to jQuery's Form.Observer

2006-09-10 Thread Yehuda Katz
John,It's for a situation where you want to get feedback for the changing data in a form (live preview for instance).Is there a way to achieve this with a single event handler?-- Yehuda On 9/10/06, John Resig [EMAIL PROTECTED] wrote: Is there a jQuery alternative to Prototype's Form.Observer?

Re: [jQuery] Equivalent to jQuery's Form.Observer

2006-09-10 Thread Blair McKenzie
Couldn't you simply add the same event to all inputs?function updatepreview() { ...};$([EMAIL PROTECTED]'text'], select, textarea).change(updatepreview);$([EMAIL PROTECTED]'checkbox'], [EMAIL PROTECTED]'radio']).click(updatepreview); BlairOn 9/11/06, Yehuda Katz [EMAIL PROTECTED] wrote:

Re: [jQuery] Equivalent to jQuery's Form.Observer

2006-09-10 Thread Yehuda Katz
I'd want an AJAX call that only fired when there was no change after X seconds.-- YehudaOn 9/10/06, John Resig [EMAIL PROTECTED] wrote: It's for a situation where you want to get feedback for the changing data in a form (live preview for instance). Is there a way to achieve this with a single

[jQuery] Accessibility. Take it Seriously in Your Web Apps.

2006-09-10 Thread Rey Bango
Guys, If you haven't taken accessibility seriously, then you need to read this: http://dailycal.org/sharticle.php?id=21297 Rey... ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/