[jQuery] jQuery is Moving to a Forum

2010-01-20 Thread John Resig
Hello All - After much deliberation the jQuery team has decided to close down the Google Groups that we've been using for project discussion and move to a unified forum instead. The new forum can be found here: http://forum.jquery.com/ More information about our decision to move can be found

[jQuery] jQuery 1.4 Alpha 1 Released

2009-12-04 Thread John Resig
More details here: http://blog.jquery.com/2009/12/04/jquery-14-alpha-1-released/ --John

[jQuery] Re: $(':target') and $(location.hash)

2009-09-24 Thread John Resig
jQuery does not support :target. The only reason why it works in Firefox 3.5 is that it provides a native querySelectorAll method. We would have to have an implementation that works in other browser (FF 3.0, IE 8, etc.) and we don't have that right now. You're welcome to file a ticket asking for

[jQuery] Re: Twitter for support?

2009-09-13 Thread John Resig
That sounds about right - hopefully we'll be able to direct them to a forum, eventually (which would be much easier to use, I'd expect, for someone who's using twitter). --John On Sun, Sep 13, 2009 at 2:53 PM, Mike Alsup mal...@gmail.com wrote: Over the past few months I've been fielding an

[jQuery] Re: IE8 Selector Bug?

2009-08-12 Thread John Resig
It looks similar to the one above, but different. I'll try and check in to them both. gentry - can you file a bug for the issue you found, preferably with a full test case? --John On Wed, Aug 12, 2009 at 2:21 PM, Jeffrey Kretz jeffkr...@hotmail.comwrote: My guess is its related to a problem

[jQuery] Re: IE8 Selector Bug?

2009-08-12 Thread John Resig
am, John Resig jere...@gmail.com wrote: It looks similar to the one above, but different. I'll try and check in to them both. gentry - can you file a bug for the issue you found, preferably with a full test case? --John On Wed, Aug 12, 2009 at 2:21 PM, Jeffrey Kretz jeffkr

[jQuery] Re: jQuery.ready after document has loaded

2009-08-12 Thread John Resig
We just landed some code in the latest nightly versions of jQuery to auto-detect if the page has already loaded. You can try it here: http://code.jquery.com/jquery-nightly.js --John On Wed, Aug 12, 2009 at 5:14 PM, ujamu danab1...@gmail.com wrote: I have developed a FF extension that loads a

[jQuery] Re: Bug? -- toggle() of TR broke in IE8

2009-08-07 Thread John Resig
These are a duplicate of http://dev.jquery.com/ticket/4512 which has been fixed. --John On Fri, Aug 7, 2009 at 4:53 PM, Mondo Libero i...@vincenzoferme.it wrote: Here: http://dev.jquery.com/ticket/4753, and Here: http://dev.jquery.com/ticket/4960 some users send this bug on bug tracker.

[jQuery] Re: jquery 1.3.2 error with $(':inp...@name=submit]')???

2009-08-02 Thread John Resig
Just remove the @ and it'll work fine. --John On Sun, Aug 2, 2009 at 12:07 PM, micorreo13 micorre...@gmail.com wrote: I was using jquery-1.2.6 and now, I started to use jquery-1.3.2, and I get my first difference: when I use the wrapped set operation $ (':inp...@name=submit]') with

[jQuery] Re: function running 2X

2009-07-29 Thread John Resig
How many times is clickcharges called? Perhaps you're binding a click more than once. --John On Wed, Jul 29, 2009 at 3:03 PM, marksimon zen...@gmail.com wrote: Still getting 2 alerts. On Jul 29, 11:49 am, Eric Garside gars...@gmail.com wrote: Pretty sure its because the event is bubbling

[jQuery] Re: My messages don't show?

2009-07-27 Thread John Resig
All messages are moderated - so it'll depend heavily upon when we're able to review them. --John On Mon, Jul 27, 2009 at 3:19 PM, Cesar Sanz the.email.tr...@gmail.comwrote: I takes about 3 hrs to display your first message. dunno why - Original Message - From: Jon Jackson

[jQuery] Re: consistently unable to get return false to work, why?

2009-07-27 Thread John Resig
It looks like you're using the old liveQuery plugin. Why not just use .bind() or .live()? --John On Mon, Jul 27, 2009 at 5:11 PM, pedalpete p...@hearwhere.com wrote: So, this isn't related to any one bit of code, but it seems to be a problem I run into almost everytime i need to stop a form

[jQuery] Re: jQuery broken in FF3.5b99 (Preview)

2009-06-09 Thread John Resig
It looks like it may have already been fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=496790 Thanks for the heads-up, though! --John On Tue, Jun 9, 2009 at 6:09 PM, benjambenjamwel...@gmail.com wrote: I'm sure support for a beta release is a bad thing to be asking for, but I mostly

[jQuery] Re: Something changed from 1.2.2 to 1.3.2 with hashes

2009-05-20 Thread John Resig
Well, in 1.3.2 it now throws an exception, since the CSS selector # is invalid. If you wish to use that precise technique I'd wrap a try/catch around the jQuery statement to catch the error. --John On Wed, May 20, 2009 at 8:22 AM, madmax019 maxi.karr...@googlemail.comwrote: Hi everyone, I

[jQuery] Re: jQuery v1.3.2 error

2009-05-14 Thread John Resig
Could you try it with an unminified version of jQuery? That might help a little bit with debugging. --John On Thu, May 14, 2009 at 11:00 AM, Devision c...@e950.lv wrote: Hello. I recently updated my jQuery to 1.3.2 from 1.2.6 and now firebug shows me error: tagName is undefined (jquery.js

[jQuery] Re: Double submitted ajax requests

2009-04-30 Thread John Resig
Do you have Firebug installed? Some versions of Firebug submit requests twice. --John On Wed, Apr 29, 2009 at 5:17 PM, Josh Ain josh@gmail.com wrote: Very intermittently, I am finding ajax requests submitted with jquery are being submitted twice, once with parameters, and once without

[jQuery] Re: jQuery 1.3.2 *SLOW* using .class tag selector?

2009-04-29 Thread John Resig
Upgrading is probably safe - it's the engine that'll be in jQuery 1.3.3. --John On Wed, Apr 29, 2009 at 8:35 AM, swalke16 swalk...@gmail.com wrote: I have a situation where I have some HTML I am selecting elements from using the .class tag selector combination using jQuery v1.3.2. I have

[jQuery] Re: Jquery 1.3 - Not all selectors work in IE 8?

2009-04-24 Thread John Resig
Interesting. Do you think you could file a bug on this and then post it to the jQuery-dev list? Thanks! http://dev.jquery.com/newticket http://groups.google.com/group/jquery-dev --John On Thu, Apr 23, 2009 at 5:11 PM, giovanni gflam...@gmail.com wrote: I found that certain selectors work in

[jQuery] Re: Any benefit to using event.preventDefault() over return false to cancel out an href click?

2009-04-20 Thread John Resig
return false does e.preventDefault() and e.stopPropagation(). --John On Mon, Apr 20, 2009 at 3:20 PM, kgosser kgos...@gmail.com wrote: Just curious if there is a best practice when choosing between $(a).click(function(){   // stuff   return false; }); and $(a).click(function(){  

[jQuery] Re: Simple selector not working in 1.3.1 and webkit (safari and chrome)

2009-04-02 Thread John Resig
4, 5:05 am, Javier Martinez ecentin...@gmail.com wrote: Sure! Createdhttp://dev.jquery.com/ticket/4058 Hope there is some easy patch, if not, I will regret to 1.2.6 inmediately :( 2009/2/3 John Resig jere...@gmail.com That's odd. Could you file a bug on this? http://dev.jquery.com

[jQuery] Re: Form no longer works with upgrade to 1.3.2

2009-03-30 Thread John Resig
Well, without being able to see the form in question - does your page validate? If everything is going into a single input that sounds like a problem with malformed HTML markup. --John 2009/3/30 Kathryn kathry...@gmail.com: I'm working on a web form and had to upgrade to 1.3.2 tonight to

[jQuery] Re: Timing of 1.3.3 release

2009-03-26 Thread John Resig
Why not just use a nightly build? No need to wait for a full release. http://code.jquery.com/nightlies/jquery-2009-03-26.js --John On Thu, Mar 26, 2009 at 9:03 AM, dberthia dave.berthia...@gmail.com wrote: Anybody have any insight into when 1.3.3 might be released? There are a couple of

[jQuery] Re: Ticket: [1758-5724031711]

2009-03-24 Thread John Resig
Uhhh... why were there like 30 of these submitted to the mailing list? Your email address has now been banned. Please contact me off-list if you wish to rectify the situation. --John On Tue, Mar 24, 2009 at 5:45 PM, InfiniteSkills Support Center i...@infiniteskills.com wrote: This message

[jQuery] Re: Ticket: [1758-5724031711]

2009-03-24 Thread John Resig
PM, John Resig wrote: Uhhh... why were there like 30 of these submitted to the mailing list? Your email address has now been banned. Please contact me off-list if you wish to rectify the situation. --John

[jQuery] Re: Playstation 3

2009-03-23 Thread John Resig
If I remember correctly - the NetFront browser was missing some fairly fundamental features. I don't remember which, off-hand, but it was enough to cause jQuery not even to load. --John On Mon, Mar 23, 2009 at 7:21 AM, Johan johandesi...@gmail.com wrote: jQuery fails on the Playstation 3

[jQuery] Re: Forced bubbling

2009-03-23 Thread John Resig
Why not do: $('#first').click(function(e) { e.preventDefault(); }); --John On Mon, Mar 23, 2009 at 9:20 AM, John Smith master9...@gmail.com wrote: I have 2 containers i disabled event bubbling for first container. This is must have $ ('#first').click(function() { return false; }); Now

[jQuery] Re: Animate using relative %

2009-03-05 Thread John Resig
. After positing this directly to John Resig via twitter I got a response asking me to try: $(‘#myDiv’).animate({top : “-=26%”}); However the object always animates to: “top: 0px” regardless of its starting position, percentage value and the +=, -= notation. Is this a bug or am I missing

[jQuery] Re: $('#foo p') or $('p', $('#foo'))

2009-02-26 Thread John Resig
The benchmark is getElementById().getElementsByTagName() - why not inlcude that in the test? But it's not that simple (it never is). That code doesn't take into account browsers, like IE, returning element that have a name equal to the ID, not does it take into account the element (with the

[jQuery] Re: $('#foo p') or $('p', $('#foo'))

2009-02-25 Thread John Resig
To follow-up from my post yesterday, here are the new numbers, for 1.3.3 (work in progress, naturally): http://ejohn.org/files/jquery1.3.3/id.html jQuery version used = 1.3.3pre Total number of DIVs = 100 Paragraphs per DIV = 50 --- $(#div50 p) = 2ms $(p,

[jQuery] Re: $('#foo p') or $('p', $('#foo'))

2009-02-25 Thread John Resig
WOW! Check out the last 2 tests, John. Syntax #4 takes 512-times longer than #5! I think this code needs a little TLC too ;) It was also interesting that $(#div500).children(p) is 10-times slower than $(#div500).find(p). So I added one final test using childNodes and filter() to see if I

[jQuery] Re: $('#foo p') or $('p', $('#foo'))

2009-02-25 Thread John Resig
On Wed, Feb 25, 2009 at 7:21 PM, John Resig jere...@gmail.com wrote: WOW! Check out the last 2 tests, John. Syntax #4 takes 512-times longer than #5! I think this code needs a little TLC too ;) It was also interesting that $(#div500).children(p) is 10-times slower than $(#div500).find(p). So I

[jQuery] Re: $('#foo p') or $('p', $('#foo'))

2009-02-24 Thread John Resig
of a browser makers' concern. - ricardo On Feb 23, 1:08 pm, Peter Bengtsson pete...@gmail.com wrote: I watched the John Resig presentation too and learned that CSS selectors always work from right to left. That would mean that doing this::   $('#foo p') Would extract all p tags

[jQuery] Re: Stopping emails

2009-02-23 Thread John Resig
I just changed your setting to 'No Email'. --John On Mon, Feb 23, 2009 at 1:15 PM, Alan Williams a...@ralentango.co.uk wrote: Hi I currently get all the posts to this group sent to me by email, but not because I am a member of the Google group (I must have signed up to the emails before

[jQuery] Re: 1.3.1/2 selecting bug... or feature?

2009-02-23 Thread John Resig
Looks like a bug to me. In this case it seems like doing just li would be equivalent to what you want. Could you file it here? http://dev.jquery.com/newticket --John On Mon, Feb 23, 2009 at 11:43 AM, Sjeiti sje...@gmail.com wrote: I've build a recursive tree. Now I'm trying to get the

[jQuery] Re: Lower speed with 1.3.1 vs 1.2.6 with simple parsing

2009-02-20 Thread John Resig
A lot has changed with regard to the selector engine in 1.3.1 - it this case it looks like these type of selections didn't benefit. One thing that would change that, though, would be caching the selectors that you do run. Right now you run a couple of these over-and-over again. I'd probably

[jQuery] Re: .contents() not meeting its contract?

2009-02-20 Thread John Resig
.not() and .filter() don't work against text nodes (they're immediately removed). If you wish to just get the text nodes you can do: $(p).contents().filter(function(){ return this.nodeType !== 1; }) Although, it sounds like you're trying to do this instead: $(p).wrapInner(b/b); --John

[jQuery] jQuery 1.3.2 Released

2009-02-20 Thread John Resig
Hi Everyone - Full details here: http://docs.jquery.com/Release:jQuery_1.3.2 Enjoy! --John

[jQuery] Re: jQuery 1.3.2 Released

2009-02-20 Thread John Resig
Awesome, thanks John. So UI 1.7 should be around the corner as well? Let's hope so! You'll have to ask the UI team :-) I think they're getting real close, though. --John

[jQuery] Re: A question for John Resig

2009-02-19 Thread John Resig
I'm curious what the benefit of that would be. Given that the window.undefined property exists and has the undefined value, I'd think they would give the same result. They give the same results for properties, at least: someObject.undefinedProperty === undefined but not for variables that

[jQuery] Re: Lower speed with 1.3.1 vs 1.2.6 with simple parsing

2009-02-19 Thread John Resig
Do you have some sample markup? It's kind of hard to determine from just the code. --John On Thu, Feb 19, 2009 at 2:18 PM, Sjoland jo...@sjoland.com wrote: Hi!, When switching between 1.3.1 and 1.2.6 i get a serious drop in speed when collection a JSON object from static HTML content.

[jQuery] Re: A question for John Resig

2009-02-18 Thread John Resig
Extra function calls sure - plus there's really no need for those methods, they're already a part of JavaScript. typeof FOO === string typeof FOO === number typeof FOO === boolean --John On Tue, Feb 17, 2009 at 11:53 PM, pbcomm pbc...@gmail.com wrote: This might be a stupid question, but I

[jQuery] Re: A question for John Resig

2009-02-18 Thread John Resig
It really depends in which browser you test. I'm seeing little to no difference in IE and Firefox - but a noticeable difference in Safari and Opera. http://dev.jquery.com/~john/ticket/equals/ Safari: +3ms, +2ms, +7ms, +3ms, +4ms Opera: +46ms, +35ms, +21ms, +19ms, +36ms (over 500,000

[jQuery] Re: A question for John Resig

2009-02-18 Thread John Resig
Why implement jQuery.isFunction when you can also just go typeof variable == 'function'? You can see some of the cases that we handle that normal typeof can't, here: http://dev.jquery.com/browser/trunk/jquery/test/unit/core.js#L176 --John

[jQuery] Re: A question for John Resig

2009-02-18 Thread John Resig
Safari: +3ms, +2ms, +7ms, +3ms, +4ms Opera: +46ms, +35ms, +21ms, +19ms, +36ms I forgot to mention that this means that == is about 10% slower than === in both browsers. --John

[jQuery] Re: selector best practice

2009-02-16 Thread John Resig
Umm - that's not true at all. I created a test for you to see: http://dev.jquery.com/~john/ticket/class-speed/ In Firefox 3 I'm getting: ID Raw: 9 ID jQuery: 22 (over 500 queries) Class Raw: 1108 Class jQuery: 778 (over 100 queries) In Safari 3.2 I'm getting: ID Raw: 1 ID jQuery: 3 (over 500

[jQuery] Re: class weirdness in loaded XML?!?

2009-02-16 Thread John Resig
I filed a bug and fixed the issue: http://dev.jquery.com/ticket/4167 --John On Mon, Feb 16, 2009 at 11:40 AM, ml1 tsummer...@gmail.com wrote: Tragically none of those quoting variations work. (I've pretty much exhausted every quote variation in my desperate search to try to figure out

[jQuery] Re: class weirdness in loaded XML?!?

2009-02-16 Thread John Resig
, John Resig jere...@gmail.com wrote: I filed a bug and fixed the issue:http://dev.jquery.com/ticket/4167 --John On Mon, Feb 16, 2009 at 11:40 AM, ml1 tsummer...@gmail.com wrote: Tragically none of those quoting variations work. (I've pretty much exhausted every quote variation in my

[jQuery] Re: Feature Detection Best Practice?

2009-02-12 Thread John Resig
That seems like a good use to me! --John On Thu, Feb 12, 2009 at 10:21 PM, Chris cpot...@siolon.com wrote: I ventured into feature detection, and I want to make sure I'm doing this the right way. Basically the fx on the jQuery UI tabs causes aliasing in IE 6/7 (but not 8). Instead of

[jQuery] Re: Simple selector not working in 1.3.1 and webkit (safari and chrome)

2009-02-03 Thread John Resig
That's odd. Could you file a bug on this? http://dev.jquery.com/newticket Thanks! --John On Tue, Feb 3, 2009 at 10:39 AM, Javier Martinez ecentin...@gmail.com wrote: I'm creating a component for an application I'm developing and I have upgraded jquery to the last version to get it's speed

[jQuery] Re: 1.3 and toggle()

2009-01-30 Thread John Resig
It looks like you're trying to use a jQuery UI effect - maybe that's why? --John 2009/1/30 gmacgregor gmacgre...@gmail.com: Consider this markup: div class=holder h4Foo/h4 div class=bar Hello! /div /div Since upgrading to 1.3, this no longer works: $('div.holder

[jQuery] Re: vsdoc for new jquery 1.3.1

2009-01-22 Thread John Resig
The team at Microsoft is already working on it. Hopefully it'll be ready soon. --John On 1/22/09, Fisher Ning ning...@gmail.com wrote: Hi guys, Does anyone know when the jQuery Visual studio doc (jquery-vsdoc.js) will be updated for new 1.3.1? Is there any plan for this? Regards,

[jQuery] Re: 1.3.1 is over 10x slower than 1.2.6

2009-01-22 Thread John Resig
I'm not seeing this, no. Do you have a link to the app? What version of Firebug are you using? --John On 1/22/09, Loren lorenw...@gmail.com wrote: Hello, I have an application that does lots of HTML injection, animation, and manipulation, and I'm a long time user and fan of jQuery.

[jQuery] Re: $('.someclass[initialized!=1]') fails in 1.3; works in 1.2 (if elements don't have initialized attr)

2009-01-22 Thread John Resig
This was fixed in 1.3.1. --John On Thu, Jan 22, 2009 at 4:42 PM, Soulcatcher foril...@gmail.com wrote: Say i have several elements with class='someclass' and they DON'T have attribute 'initialized' initially. When i do $('.someclass[initialized!=1]') in 1.2.6, i get the list of all

[jQuery] Re: 1.3, attributeStartsWith and '['

2009-01-20 Thread John Resig
I filed a bug over here: http://dev.jquery.com/ticket/3928 and have since fixed the issue. --John On Mon, Jan 19, 2009 at 2:08 PM, Balazs Endresz balazs.endr...@gmail.com wrote: Unforunately it's just turned out that there's anothor isssue behind this. You can follow the ticket if you

[jQuery] Re: addEvent wrap for document.ready()

2009-01-19 Thread John Resig
Why not just do: function addEvent(obj, evt, fn){ jQuery(obj).bind(evt, fn); } Just defer everything to jQuery! --John On Mon, Jan 19, 2009 at 2:48 AM, rundmw run...@gmail.com wrote: I have an existing application which I would like to transition to use jQuery. The app currently uses

[jQuery] Re: jquery 1.3 n.queue is not a function?

2009-01-19 Thread John Resig
Do you have a URL for your site anywhere? --John On Mon, Jan 19, 2009 at 11:45 AM, yellow1912 yellow1...@gmail.com wrote: When I try to use jquery 1.3 on my test site, I get this error: jQuery.queue is not a function [Break on this error] var queue = jQuery.queue( this, type, data );

[jQuery] Re: jQuery 1.3 live not working correctly

2009-01-19 Thread John Resig
Do you have an example anywhere that we can look at? Also, could you post a follow-up to the jquery-dev list? Thanks. http://groups.google.com/group/jquery-dev --John On Mon, Jan 19, 2009 at 7:25 AM, Walther waltherl...@gmail.com wrote: I am having an issue with the new live events in

[jQuery] Re: jquery 1.3 n.queue is not a function?

2009-01-19 Thread John Resig
Also, could you post that URL to the jquery-dev list when you have it? Thanks. http://groups.google.com/group/jquery-dev --John On Mon, Jan 19, 2009 at 11:52 AM, John Resig jere...@gmail.com wrote: Do you have a URL for your site anywhere? --John On Mon, Jan 19, 2009 at 11:45 AM

[jQuery] Re: Selector *= not works in Safari 3.2.1 and Chrome 1.0.154.43

2009-01-16 Thread John Resig
What version of jQuery are you using? --John On Fri, Jan 16, 2009 at 2:35 AM, floyd floyd...@gmail.com wrote: Hi all, Here is my situation. HTML Page DTD Type is declared as following !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/ TR/xhtml11/DTD/xhtml11.dtd

[jQuery] Re: jQuery UI 1.6rc5

2009-01-16 Thread John Resig
The jquery-ui list would be a better place for this question. http://groups.google.com/group/jquery-ui --John On Fri, Jan 16, 2009 at 9:34 AM, Eric Garside gars...@gmail.com wrote: When is this planned on coming out? Anyone know?

[jQuery] Re: question about changes to :not() in 1.3

2009-01-16 Thread John Resig
$(':not(div:has(div))') is equivalent to $('*:not(div:has(div))') is equivalent to $('*').filter(':not(div:has(div))') is equivalent to $('*').not('div:has(div)') Hope that helps to answer your question :) --John On Fri, Jan 16, 2009 at 11:24 AM, jdwbell jdwb...@gmail.com wrote: Here I am

[jQuery] jQuery 1.3 Released

2009-01-14 Thread John Resig
Hey Everyone - jQuery 1.3 is out! Full details here: http://blog.jquery.com/2009/01/14/jquery-13-and-the-jquery-foundation/ Happy 3rd Birthday, jQuery! --John

[jQuery] Re: @name deprecated?

2009-01-13 Thread John Resig
Why disappointingly? Because 1.2 to 1.3 is a big major release... and there's a few post to test test test, but there's no indication of what to test for.. what's changed what could break Huh? Did you miss the beta 1 post where we outlined everything that could've broken?

[jQuery] jQuery 1.3rc2 Ready

2009-01-12 Thread John Resig
Hey Everyone - jQuery 1.3rc2 is ready. This means that 1.3 is effectively finished barring a horrible bug between now and the final release on Wednesday (the 14th). You can grab the source here: http://code.jquery.com/jquery-1.3rc2.js Please let me know, personally, if you find some bad new

[jQuery] jQuery 1.3rc1 Ready

2009-01-11 Thread John Resig
Hey Everyone - jQuery 1.3rc1 is ready. This means that 1.3 is effectively finished barring a horrible bug between now and the final release on Wednesday (the 14th). You can grab the source here: http://code.jquery.com/jquery-1.3rc1.js Please let me know, personally, if you find some bad new

[jQuery] Re: jQuery 1.3rc1 Ready

2009-01-11 Thread John Resig
jQuery 1.3rc1 is ready. This means that 1.3 is effectively finished barring a horrible bug between now and the final release on Wednesday That's great news. For those of us who haven't been following recent development, are there any release notes available? Nope - but there will be a full

[jQuery] Re: jQuery 1.3rc1 Ready

2009-01-11 Thread John Resig
Do you have an example? It's kind of hard to figure out what's going wrong with only a line to look at. --John On Sun, Jan 11, 2009 at 11:07 PM, Canglan cang...@gmail.com wrote: Kudos! John, the RC1's new selector is causing problems with some of my existing code base, I've submitted a

[jQuery] Help Test jQuery 1.3 Beta 2

2009-01-05 Thread John Resig
Beta 2 is now out - and we need help testing it! More information here: http://blog.jquery.com/2009/01/05/help-test-jquery-13-beta-2/ --John

[jQuery] Re: jQuery way

2009-01-04 Thread John Resig
Maybe: $(#container).children().not(#header, #content, #footer).empty(); --John On Sun, Jan 4, 2009 at 2:05 PM, Dirceu Barquette dirceu.barque...@gmail.com wrote: Hi all! Is there better way? var elem = $('#container')[0]; var arr = [header,content,footer];

[jQuery] Help Test jQuery 1.3 Beta 1

2008-12-22 Thread John Resig
Hi Everyone - The jQuery dev team just got jQuery 1.3 Beta 1 out the door. Help us test this release and make sure it goes nice and smoothly! http://blog.jquery.com/2008/12/22/help-test-jquery-13-beta-1/ Thanks in advance. --John

[jQuery] Re: Simple XPATH Selector

2008-12-20 Thread John Resig
jQuery doesn't support XPath selectors any more - you need to use CSS selectors. $(p).addClass(jq); --John On Dec 20, 9:36 am, chinnakarup...@gmail.com chinnakarup...@gmail.com wrote: Hi, I am trying XPATH selector with jqueryit doesn't seem to work..find below the eg.it should select

[jQuery] Re: :not selector --- not working

2008-12-20 Thread John Resig
That's an XPath selector, not a CSS selector. To do that in jQuery you would need to do: $(tr:not(:has(th)):even) --John On Dec 20, 9:38 am, chinnakarup...@gmail.com chinnakarup...@gmail.com wrote: Hi, I tried a eg for :not operator.According to which it should not pick up the Table header

[jQuery] Re: JQuery licensing questions

2008-11-10 Thread John Resig
Yes, that is perfectly fine on the MIT license. --John On Mon, Nov 10, 2008 at 6:45 PM, acesfull9 [EMAIL PROTECTED] wrote: I am working on a web application project that utilizes jquery. I would like to be able to license the system I created to local businesses for a fee. Is this

[jQuery] Re: closing tag bug in jQuery 1.2.6?

2008-10-29 Thread John Resig
I'm fairly certain that's incorrect syntax (putting a div inside a span - especially one that's self-closing). The browser will automatically force the div outside the span. --John On Wed, Oct 29, 2008 at 11:38 AM, Jay [EMAIL PROTECTED] wrote: Has someone else already posted this bug? The

[jQuery] Re: JQuery selector

2008-10-28 Thread John Resig
$(.u:last li:last).addClass(last); Close. $(ul.u li:last-child).addClass(last); You may want to move that child ul inside an li - it's not proper HTML to put a UL inside a UL. --John On 28 Okt., 13:07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi everyone, I have a question on

[jQuery] Re: Multiple JQuery Bottleneck

2008-10-17 Thread John Resig
Kind of hard to debug what you're talking about without seeing it. Do you have an example? --John On Fri, Oct 17, 2008 at 10:17 AM, dvdavid2001 [EMAIL PROTECTED] wrote: Hi guys, This is my 1st time asking the questions hence please bear with me if I did it wrongly or etc. I have a

[jQuery] Re: jQuery's ajax .load sometimes shows the previous page for a blink of a second?!

2008-10-05 Thread John Resig
Try something like this: $(.photo).click(function() { $(.jq).hide().load(photo.htm, function(){ $(this).slideDown(slow) }); $(.closerbutton).show(slow).attr(title, close); return false; }); $(.about).click(function() {

[jQuery] Re: i was patient, now i'm frustrated

2008-09-26 Thread John Resig
This is a completely unrelated issue - we host jQuery.com (the homepage, blog, and dev) on a separate server with Rimuhosting. There was a power outage at the server facility and they're working ot bring it back up: http://rimuhosting.com/maintenance.jsp?server_maint_oid=68009362 The other

[jQuery] Re: jquery.com incredibly slow for me

2008-09-18 Thread John Resig
AFAIK jquery.com provides files for downloading not hotlinking. So you should have used your own server to serve js in the first place. We provide code.jquery.com to hotlink to - that's perfectly ok. --John

[jQuery] Re: jquery.com incredibly slow for me

2008-09-17 Thread John Resig
); /script Nothing else needs to be changed. A good article on the subject: http://ajaxian.com/archives/announcing-ajax-libraries-api-speed-up-your-ajax-apps-with-googles-infrastructure -Acacio On Sep 17, 7:05 pm, John Resig [EMAIL PROTECTED] wrote: We just acquired four new servers from

[jQuery] Re: New jQuery Website...

2008-09-08 Thread John Resig
It was launched the Friday before last. You can thank Scott Jehl for all the hard work he did! --John On Mon, Sep 8, 2008 at 12:58 PM, Chris Jordan [EMAIL PROTECTED] wrote: I really like the look of the new jQuery website. When did it get launched? My hats off to the designers! It looks

[jQuery] Re: I must be missing something simple...

2008-09-06 Thread John Resig
He's using Document Ready - that's not the issue. To quote Jake from another thread: See this http://dev.jquery.com/ticket/3143. Long story short, jQuery only supports $(html) or $(xmlObject). --John On Sat, Sep 6, 2008 at 7:43 AM, Rene Veerman [EMAIL PROTECTED] wrote:

[jQuery] Re: jQuery project works fine in IE6, but bombs in FF2

2008-09-04 Thread John Resig
Try changing this line: $(this.children).show(); to: $(this).children().show(); The first uses a property that's not available in Firefox - whereas the second uses a jQuery method that works in all browsers. --John On Thu, Sep 4, 2008 at 10:45 AM, Phonedude [EMAIL PROTECTED] wrote: My

[jQuery] Re: Doc's site down?

2008-08-28 Thread John Resig
We've been working with the guys at Media Temple - they're going to be breaking us off into multiple servers. Right now the docs site (for example) is getting the equivalent of about 3-4 Slashdot/Digg effects per day so we have to boost up the resources that we have. --John On Thu, Aug 28, 2008

[jQuery] Re: jQuery.com Broken?

2008-07-20 Thread John Resig
All our static files are hosted on Amazon S3 - they had an outage earlier today. --John On Sun, Jul 20, 2008 at 4:43 PM, Kevin Pepperman [EMAIL PROTECTED] wrote: same here. no CSS. degrading gracefully. On Sun, Jul 20, 2008 at 3:46 PM, xwisdom [EMAIL PROTECTED] wrote: Hello, The website

[jQuery] Re: yet again XML+jQuery+IE7

2008-07-15 Thread John Resig
Hey - can you provide an example site? It's unclear what might be wrong without seeing a response from the server. What is the value of xml when it comes back? --John On Tue, Jul 15, 2008 at 9:34 AM, Tzury [EMAIL PROTECTED] wrote: The following example (from the jquery-doc-site) works fine

[jQuery] Re: is dimensions now part of jquery or not? (I hear different opinions)

2008-07-08 Thread John Resig
Yes, Dimensions is completely a part of jQuery as of jQuery 1.2.6. --John On Tue, Jul 8, 2008 at 2:49 PM, jquertil [EMAIL PROTECTED] wrote: the other day was told latest jquery now includes dimensions plugin but I was certain it does not... I still assume it does not, thus I compile the

[jQuery] Re: .hide() Doesn't Work Fast Enough?

2008-07-07 Thread John Resig
In which browser(s) are you having this issue? --John On Mon, Jul 7, 2008 at 12:41 PM, Vik [EMAIL PROTECTED] wrote: I'm using jQuery to fade in my site logo on my home page header, to give the home page some animation. It works great. So that the page will degrade gracefully if the user

[jQuery] Re: $(something).text() doesn't preserve whitespace in IE

2008-07-06 Thread John Resig
I'm fairly certain that our .text() support has changed a lot since October 2006 (!). It would be interesting to re-examine this issue - if there are any current problems I know that we'd really like to get them fixed. --John On Sun, Jul 6, 2008 at 8:05 PM, Dave Methvin [EMAIL PROTECTED]

[jQuery] Re: [validate] jquery.delegate.js is missing?

2008-07-02 Thread John Resig
Popping jquery.delegate.js into Google provides this: http://dev.jquery.com/export/5759/trunk/plugins/delegate/jquery.delegate.js --John On Wed, Jul 2, 2008 at 9:17 AM, jez_p [EMAIL PROTECTED] wrote: I should just explain that I'm very new to jQuery. That out of the way, I have downloaded

[jQuery] Re: hasElementClass

2008-07-02 Thread John Resig
jQuery(element).hasClass('classname') --John On Wed, Jul 2, 2008 at 12:18 PM, Harald Armin Massa [EMAIL PROTECTED] wrote: hello, I am in the process of converting some MochiKit code to jquery. I was used to a comfortable funciton hasElementClass(element, 'classname') which checked if

[jQuery] Re: QUnit, jqUnit, and rhino

2008-06-26 Thread John Resig
I'm working on this (well, trying to get more of the jQuery test suite to pass). I've broken it out into a separate project here: http://github.com/jeresig/env-js/tree/master I'm also trying to get it to run on more platforms (such as Ruby/Johnson, Perl/Spidermonkey, and Python/Spidermonkey).

[jQuery] Re: Safari 2.0.4 not passing the jQuery test

2008-06-19 Thread John Resig
Jeff - Safari 2 has serious memory issues that are impossible to work around - simply loading and executing too much JavaScript will cause it to crash (as you see with the test suite). We do run the test suite against Safari 2 but in pieces to verify that it works as intended. Yes, we still

[jQuery] Re: Converting this mootools code to jQuery....help?

2008-06-16 Thread John Resig
jQuery(document).ready(function(){ setInterval(function(){ jQuery('#usersOnlineTxt').load(siteURL+'fetch/online-users'); }, 30); }); --John On Mon, Jun 16, 2008 at 5:58 AM, azz0r [EMAIL PROTECTED] wrote: Hey guys, I'm trying to convert my scripts to jQuery, I wondered if you guys

[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread John Resig
Still a performance improvement, but not as great as the test machine - i.e. the faster the client PC processor, the better the performance improvement (I don't think RAM will have much of an impact as the CPU is doing the work). How so? Your .extend() improved by 37% and your .map()

[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread John Resig
.extend() was used extensively in the event handling code, hence the need for improvement. How does it compare with other libraries now? How does what compare? No other library is making the optimizations we are - or even examining how to perform faster operations here. --John

[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread John Resig
Sure, we'll take credit for that :-) --John On Wed, Jun 4, 2008 at 12:28 PM, Josh Nathanson [EMAIL PROTECTED] wrote: Great job on this release guys. I also noticed when developing a plugin that it seems the memory management in IE6 is greatly improved. I accidentally was using 1.2.1 while

[jQuery] Re: element.attr() bug in jquery 1.2.6?

2008-05-29 Thread John Resig
I'm confused - you're getting and modifying the onclick attribute? That seems... strange. --John On Thu, May 29, 2008 at 7:48 PM, Phil Christensen [EMAIL PROTECTED] wrote: Hi all, I've run into a strange issue that I believe is a bug in jQuery 1.2.6. I've posted a ticket along with a test

[jQuery] Re: 1.2.5 and 1.2.6 not working at all for me - what am I missing?

2008-05-28 Thread John Resig
Victor: That shouldn't be the case (if you're using noConflict). Note that the code he presented worked with 1.2.3. --John On Wed, May 28, 2008 at 4:41 AM, Victor [EMAIL PROTECTED] wrote: Kape: Just read your post again. You are using prototype. I believe that it conflicts with 1.2.5 and

[jQuery] Re: 1.2.5 and 1.2.6 not working at all for me - what am I missing?

2008-05-27 Thread John Resig
What if you use jquery-1.2.6.js (not packed). --John On Wed, May 28, 2008 at 12:26 AM, kape [EMAIL PROTECTED] wrote: OK, I'm sure that someone would have mentioned that the latest releases don't work, so that can't be it. It's obvious that I'm missing something. I've been using jQuery

  1   2   3   4   5   6   >