Hey John,
Feel free to submit a patch. Anything that can help move us forward is
great. I'm going to see if I can't carve out some time to take a look
at this issue in detail this evening.
--
Brandon Aaron
On Thu, Jan 14, 2010 at 12:18 AM, John Arrowwood jarro...@gmail.com wrote:
I could write
I'm on board with this.
--
Brandon Aaron
On Thu, Dec 31, 2009 at 2:19 PM, John Resig jere...@gmail.com wrote:
I added in jQuery.proxy( obj, name ) support as well (I like this - I
also showed how to do it in Secrets of the JavaScript Ninja:
http://github.com/jquery/jquery/commit
Each browser will usually give a different result based on how it is
rendering the font, spacing, etc. Try positioning a div at the
reported top/left to see if the results are accurate or not.
--
Brandon Aaron
On Wed, Nov 18, 2009 at 11:01 AM, mkeppler mkepp...@raxio.eu wrote:
Hello,
when i
I believe this is fixed in SVN/jQuery nightlies. However, there is
still an issue with popups... but should work just fine for iframes.
Try the nightly and see if that fixes the issue you are having:
http://code.jquery.com/jquery-nightly.js
--
Brandon Aaron
On Tue, Sep 1, 2009 at 8:22 AM
you'll need to
use the workaround you suggested.
--
Brandon Aaron
On Fri, Aug 28, 2009 at 10:51 AM, Nikolagavin.b.ly...@gmail.com wrote:
Hello,
I believe I may have found an issue with the position() method.
When getting an element.position().left property using jQuery, if a
link is long
This is fixed in jQuery SVN. The only one that still returns the
document is by not passing anything to jQuery: $() = [document] but
all the others you posted return and empty collection.
This is due to backwards compatibility so that $().ready(fn) continues
to work properly.
--
Brandon Aaron
For #1, a form element in IE is actually == form.elements (the
collection of elements within the form)... they are basically
indistinguishable.
For #2, I agree and I often have to look up the documentation for equals.
--
Brandon Aaron
On Thu, Aug 20, 2009 at 6:54 PM, chris
It is very simple to accomplish as a plugin:
jQuery.fn.multibind = function( events ) {
var $this = this;
jQuery.each( events, function( name, fn ) {
$this.bind( name, fn );
} );
};
--
Brandon Aaron
On Thu, Aug 6, 2009 at 2:42 PM, Mármar.orlygs...@gmail.com wrote:
And what's so bad
I'm not sure I understand your question.
If you want to know how jQuery implements the Ajax APIs then look
here: http://dev.jquery.com/browser/trunk/jquery/src/ajax.js#L157
If you just want to know how to use the jQuery Ajax APIs then look
here: http://docs.jquery.com/Ajax
--
Brandon Aaron
This is now fixed in revision 6494. It was a silly mistake and I
hadn't written proper units tests for these methods yet... revision
6494 also adds the unit tests.
--
Brandon Aaron
On Fri, Jul 24, 2009 at 2:06 PM, jpcx01jpc...@gmail.com wrote:
Karl... $(document).scrollTop() used to work
No worries... thanks for creating the ticket. :)
--
Brandon Aaron
On Fri, Jul 24, 2009 at 4:07 PM, alxa.simm...@googlemail.com wrote:
Seems like the Trac syntax corrupted my patch. :)
Should be the line of my original post:
xhr.send( (type === POST || type === PUT) ? s.data : null
Well specifically context is used in .live(). A .live() event handler
will be bound to the context. However, the .closest() method will look
beyond the context.
The context should limit the actions of jQuery to within the context's children.
--
Brandon Aaron
On Wed, Jul 22, 2009 at 4:28 PM
I think it should just stop at the context of the jQuery object. So
you'd do this instead:
$(table).bind(click, function( event ) {
var $td = $(event.target, this).closest(td);
});
--
Brandon Aaron
On Wed, Jul 22, 2009 at 1:07 PM, mike.helgesonmike.helge...@gmail.com wrote:
I propose
. I'm going to be slammed on other things for Nokia the next
couple of weeks.
--
Brandon Aaron
On Sat, Jun 20, 2009 at 5:32 PM, Ariel Fleslerafles...@gmail.com wrote:
Hi
There're a few things I'd like to mention about jQuery.event.special.
About returning false to keep the native binding
Sweet. No reason not to do it.
--
Brandon Aaron
On Wed, Jun 3, 2009 at 1:32 PM, Yehuda Katz wyc...@gmail.com wrote:
I'd like to submit a patch that lets all setters (val, html, text, etc.)
take a function as the second parameter, like the current .css() and
.attr(). Can anyone see a reason
This has been fixed in SVN and will be in jQuery 1.3.3. :)
--
Brandon Aaron
On Fri, May 22, 2009 at 11:49 AM, Lideln lid...@gmail.com wrote:
Hi all,
I noticed today what seems to be a bug in :visible and :hidden (two
bugs, actually).
I don't know if it has already been reported yet
This is a fairly common issue in IE. Empty elements, even if you set a
height of 0, will have a height of it's font-size or line-height.
--
Brandon Aaron
On Thu, May 21, 2009 at 6:15 PM, Eric Martin emarti...@gmail.com wrote:
I found this strange issue and wanted to see if 1) anyone else had
and attached a patch that fixes these edge
cases. In summary I use the dimensions check for speed and if the
result is ambiguous then I fall back to checking the display property.
--
Brandon Aaron
On Mon, May 18, 2009 at 8:19 AM, Projet Master 104 - Contruction d'un
portefeuille d'actions benoit.hir
Ugh... In IE8, even though the element is display: none, it has a
width and height 0. So, this still fails for IE. Not sure what other
elements IE8 does this for.
Thoughts anyone?
--
Brandon Aaron
On Mon, May 18, 2009 at 9:08 AM, John Resig jere...@gmail.com wrote:
This change looks good
Got to excited and spoke to soon. Using clientWidth/Height breaks 1
unit test in IE7 and 5 in IE6... still need to investigate why.
--
Brandon Aaron
On Mon, May 18, 2009 at 5:14 PM, Brandon Aaron brandon.aa...@gmail.com wrote:
On Mon, May 18, 2009 at 5:07 PM, Brandon Aaron brandon.aa
) ?
true :
!!( jQuery.curCSS(elem, display) !== none );
};
--
Brandon Aaron
On Mon, May 18, 2009 at 5:20 PM, Brandon Aaron brandon.aa...@gmail.com wrote:
Got to excited and spoke to soon. Using clientWidth/Height breaks 1
unit test in IE7 and 5 in IE6... still need
the performance difference is worth the
duplication? I haven't checked.
--
Brandon Aaron
On Mon, May 18, 2009 at 7:03 PM, Dave Methvin dave.meth...@gmail.com wrote:
It would be adding the following to the current code.
...
The visible says /^tr$/i.test( elem.tagName ) but hidden says /tr
to 1 or 0 after removing it
in-case the style sheet has a different opacity value. In which case
it does, you'd have to do some trickery and potentially
loose/overwrite the value in the style sheet.
--
Brandon Aaron
On Thu, May 14, 2009 at 5:20 AM, Jörn Zaefferer
joern.zaeffe...@googlemail.com
Sweet. I like more simple (even though I tend to find the more
complicated route). :)
and ... yeah I accidentally removed the check from elem.currentStyle
while I was trying other things. :( Thanks for pointing it out.
--
Brandon Aaron
On Thu, May 14, 2009 at 12:55 PM, Matt Kruse m
Sorry for the late reply. No need to file a ticket for this as it has
already been fixed in SVN and will be in 1.3.3. The .css(), .width(), and
.height() methods now work for other windows and documents.
--
Brandon Aaron
On Fri, May 8, 2009 at 4:45 PM, Jed Schmidt t...@nslator.jp wrote:
Thanks
There is an open ticket for this. It is interesting because IE says that the
TR element still has a width 0 even though it isn't displayed. If you
check the TD of the hidden TR, it is hidden.
--
Brandon Aaron
On Thu, May 7, 2009 at 7:10 AM, Paul Mills paul.f.mi...@gmail.com wrote:
Hi,
I've
And the ticket is... http://dev.jquery.com/ticket/4512
On Thu, May 7, 2009 at 11:36 AM, Brandon Aaron brandon.aa...@gmail.comwrote:
There is an open ticket for this. It is interesting because IE says that
the TR element still has a width 0 even though it isn't displayed. If you
check the TD
separately.
$(div).css(padding-top);
--
Brandon Aaron
On Wed, May 6, 2009 at 8:13 PM, Stephen McKamey step...@jsonfx.net wrote:
We've run into an issue where, when a style (padding in this case)
with multiple parts (5px 3px in this case) is being set by a
stylesheet (rather than inline
. Isn't it more confusing to support just a subset
versus all the shorthands? Maybe a better solution is to find a better way
to copy CSS from one element to another... if that really is the primary
use-case for supporting CSS shorthand properties.
--
Brandon Aaron
On Wed, May 6, 2009 at 9:36 PM
How about thisObject? Taken from Mozilla's docs for the forEach method (
https://developer.mozilla.org/En/Core_JavaScript_1.5_Reference:Objects:Array:forEach).
--
Brandon Aaron
On Mon, May 4, 2009 at 11:38 PM, Michael Geary m...@mg.to wrote:
I don't find this feature all that useful myself
Yes, you can still unbind the named handler. The jQuery.event.proxy method
takes care of this.
--
Brandon Aaron
2009/5/4 Scott González scott.gonza...@gmail.com
Would you be able to unbind a specific function with a specific scope?
$(el).bind('click', fn, foo);
$(el).bind('click', fn, bar
, I forgot to include the helper methods, like click, in this patch.
These would also need include the ajax event methods and probably the ready
shortcuts.
--
Brandon Aaron
On Mon, May 4, 2009 at 7:12 AM, Ariel Flesler afles...@gmail.com wrote:
I like it... but I think it is confusing
and power user features made easier are a jQuery
features.
--
Brandon Aaron
On Mon, May 4, 2009 at 9:08 AM, pete higgins phigg...@gmail.com wrote:
I agree with Ariel, that this would be better served as a static
method. Dojo does the (fn, scope) (actually, we do a mixmatch and
allow curried args
Putting the css before the js doesn't always work. :(
--
Brandon Aaron
On Sun, May 3, 2009 at 12:57 AM, Kelvin Luck kel...@kelvinluck.com wrote:
That suggestion has worked for some of my users. But some of them are
still having problems. It may be an issue in my code - I'm trying to find
Eh... document.ready waited for CSS to load in 1.2.6 but then you'd get a
flash of unstyled content in some browsers. It is a very ugly problem.
--
Brandon Aaron
On Fri, May 1, 2009 at 1:52 PM, Kelvin Luck kel...@kelvinluck.com wrote:
Hi,
I think that this is the source of a problem that has
I've fixed the issue with jQuery.event.remove not unbinding namespaced
events but had a very difficult time getting reliable results when testing
the memory leak. Please test r6321 and let me know if this fixes the memory
leak for you.
--
Brandon Aaron
On Sat, Apr 25, 2009 at 3:09 PM, Mike Park
Actually it is on my list of things to work on today. Can't promise anything
will be fixed today but I'll be working on it. :)
--Brandon Aaron
2009/4/27 Janne Kytömäki janne.kytom...@gmail.com
I originally reported the problem on another thread (http://
groups.google.com/group/jquery-dev/msg
According to this jQuery UI ticket it is namespaced events that are causing
their leaks. http://dev.jqueryui.com/ticket/4188
http://dev.jquery.com/ticket/4241
--
Brandon Aaron
2009/4/24 Janne Kytömäki janne.kytom...@gmail.com
Not sure if this is related, or if the problem is with jquery
To help identify the issue try reducing the code down even further.
Excluding plugins, your own code, commenting out blocks of code until you
have the least amount of code required to create the issue.
--
Brandon Aaron
On Thu, Apr 23, 2009 at 1:23 AM, Zeeshan Khan khan.zeesha...@gmail.comwrote
I think the test pages are broken, maybe missing some styles/js?
--
Brandon Aaron
On Sat, Apr 4, 2009 at 7:13 PM, Maniquí mani...@gmail.com wrote:
Hi all.
This bug seems to affect just IE6/7. So fire it up if you want to do
some quick testing :)
== Testing environments ==
- Working
Ahh, thanks. Okay I see the other leaks with this toolbar. I still don't see
the leaks in IE6 though. There are a few other places that we need to null
out some orphaned node references. Couple in Sizzle and a couple in offset.
Should have a patch soon.
--
Brandon Aaron
On Wed, Apr 22, 2009 at 1
this.
--
Brandon Aaron
On Wed, Apr 22, 2009 at 4:41 PM, Julian Aubourg aubourg.jul...@gmail.comwrote:
Yep, the someone was me. And as Daniel points out, the problem with
sandboxing is that it is permeable but not transparent.
You could go around onstart manipulations by hacking the script (i.e
to return computed styles in Firefox.
--
Brandon Aaron
On Wed, Apr 22, 2009 at 4:49 PM, Julian Aubourg aubourg.jul...@gmail.comwrote:
Sounds awesome but will it feature a way to change the internal window and
document references globally for an instance of jQuery? Or is it an
additional
Could you create a ticket for this so that it doesn't get lost on the
mailing list. http://dev.jquery.com/newticket/
--
Brandon Aaron
On Tue, Apr 21, 2009 at 6:19 AM, Sebastien Lambla s...@serialseb.com wrote:
Hi,
I’ve struggled for a couple of hours yesterday with firefox really
FYI... I just committed r6130 a fix for the memory leaks at runtime.
Please let me know if you find anymore leaks.
--
Brandon Aaron
On Apr 16, 8:18 am, Danny Tuppeny danny.tupp...@gmail.com wrote:
Hi all,
I've been using Drip to try and track down some memory leaks in my
app, but as I
/Left properties of
child elements.
--
Brandon Aaron
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
jQuery Development group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from
Could you show me the markup of the page that you are having these issues
on?
--
Brandon Aaron
On Wed, Apr 1, 2009 at 5:54 AM, Julian Aubourg aubourg.jul...@gmail.comwrote:
I don't know if something changed with the 1.3.2 version shared on google
but the viewport size is now correct Oo
be
able to allocate some time to fix this issue soon though if you don't mind
using a nightly build once it is fixed.
--
Brandon Aaron
On Mon, Mar 30, 2009 at 2:14 PM, Julian Aubourg aubourg.jul...@gmail.comwrote:
Hi all,
I'm in the process of migrating a site from 1.2.7 to 1.3.2.
So far, I just
You could pull in the window logic from 1.2.6 (
http://dev.jquery.com/browser/tags/1.2.6/src/core.js#L1338 ) into the 1.3.2
release ( http://dev.jquery.com/browser/tags/1.3.2/src/dimensions.js#L25 ).
--
Brandon Aaron
On Mon, Mar 30, 2009 at 3:48 PM, Julian Aubourg aubourg.jul...@gmail.comwrote
Cool. I'll take a look at this soon. We might also want to make .position()
a setter at the same time. I've gone ahead and added it to the list of
potential features for 1.4. http://docs.jquery.com/JQuery_1.4_Roadmap#Offset
--
Brandon Aaron
On Fri, Mar 20, 2009 at 6:49 PM, DanB givedanmo
I haven't. Do you have a URL that we could see? Better yet could you create
a test case and attach it to the ticket?
--
Brandon Aaron
On Tue, Feb 24, 2009 at 7:33 PM, treshug...@gmail.com
treshug...@gmail.comwrote:
http://dev.jquery.com/ticket/4239
I've created a ticket for this.
Anyone
something.
--
Brandon Aaron
On Mon, Feb 16, 2009 at 2:06 PM, Brandon Aaron brandon.aa...@gmail.comwrote:
No issues here.
--
Brandon Aaron
On Mon, Feb 16, 2009 at 12:31 PM, John Resig jere...@gmail.com wrote:
Hey Everyone -
Just finished up the last ticket for 1.3.2 and wanted to throw
Do you still have those speed tests for this around. I'm more curious why it
speeds things up than anything else. I understand why it speeds things up in
hide... just not understanding how we are gaining any performance in show.
--
Brandon Aaron
On Mon, Feb 16, 2009 at 4:26 PM, John Resig jere
Could you create a test case for us to review?
--
Brandon Aaron
On Thu, Feb 12, 2009 at 10:43 PM, ebetancourt ebe...@gmail.com wrote:
Hi, I was working with Kelvin Luck's great jScrollPane library, and
found that it would stop rendering the scrollbars if I set a max-
height property
Very nice... all so quick too! :)
--
Brandon Aaron
On Fri, Feb 13, 2009 at 5:00 PM, John Resig jere...@gmail.com wrote:
Ok, so I took some time and read through the patch more completely. It
didn't seem like much had actually changed so I wanted to figure out
the differences
Make sure you are using jQuery 1.3.1. In 1.3.0 there was an issue where live
wasn't working properly for elements that were not matched in the DOM at run
time.
--
Brandon Aaron
On Sat, Jan 31, 2009 at 12:20 PM, NeoTech moronicsm...@gmail.com wrote:
I have been having to rewrite functions
I'm fairly certain we normalized this in pervious versions. Definitely a
regression. Might want to file a ticket so it doesn't get lost on the list.
--
Brandon Aaron
On Fri, Jan 30, 2009 at 11:51 AM, Arrix arrixz...@gmail.com wrote:
I'm not sure whether jQuery used to fix currentTarget for IE
This sounds reasonable. Can you make an enhancement ticket so it doesn't get
lost on the list?
--
Brandon Aaron
On Tue, Jan 27, 2009 at 2:02 AM, Jed Schmidt t...@nslator.jp wrote:
John,
Thinking about it again, would it make sense to decouple DOM removal
from element death? This could help
This is a long thread with lots of information.
Would you mind filing an enhancement ticket for jQuery to implement a
similar solution to help overcome the submit() issue you mentioned?
--
Brandon Aaron
On Tue, Jan 27, 2009 at 1:25 PM, Diego Perini diego.per...@gmail.comwrote:
Correct John
You might want to look at jQuery UI Effects for more advanced
animation/effects.http://ui.jquery.com/demos/effects_showhide
http://docs.jquery.com/UI/Effects
--
Brandon Aaron
On Wed, Jan 21, 2009 at 1:22 AM, Daniel Friesen
nadir.seen.f...@gmail.comwrote:
// Effects library code
I did, just wanted to make it very clear. :)
--
Brandon Aaron
On Sat, Nov 29, 2008 at 2:15 PM, Ariel Flesler [EMAIL PROTECTED] wrote:
@Brandon Karl
Uh ? no one said we'd remove that... check the patch before jumping to
conclusions :D
On Sat, Nov 29, 2008 at 5:59 PM, Karl Swedberg [EMAIL
If you want or need to set an attribute you should use the .attr (
http://docs.jquery.com/Attributes ) function. If you want to set a custom
property, you should use the .data (
http://docs.jquery.com/Core/data#name) function.
--
Brandon Aaron
On Mon, Nov 10, 2008 at 7:52 AM, Marco [EMAIL
and
an interesting experiment. However, once I start thinking about what my
existing code would look like in this syntax... it isn't so sexy anymore. We
would have to start re-creating the core language constructs in our DSL and
I think JavaScript does a fine job.
--
Brandon Aaron
On Sun, Oct 26, 2008 at 10:55 AM
Remember also that we need to try and make this work without browser
detection. I'm assuming we'll have to do a quick feature detection.
--
Brandon Aaron
On Mon, Oct 20, 2008 at 3:47 AM, Paul Bakaus [EMAIL PROTECTED]wrote:
This is quite cool!
I've been thinking about this for quite some time
personally think it's worth investigating the possibility of speeding up
jQuery's events to make them scale better.
Has this been tested since the major speed up with events in 1.2.6. This
speed up might make it possible again to use events.
--
Brandon Aaron
I'd prefer this as well.
I think this also helps a few common cases of var self = $(this);
--
Brandon Aaron
On Fri, Oct 3, 2008 at 4:01 PM, Yehuda Katz [EMAIL PROTECTED] wrote:
$.callback(addClass, hello) is ok with me.
-- Yehuda
On Fri, Oct 3, 2008 at 1:58 PM, Ariel Flesler [EMAIL
I'm all for this. Seems like we'd want a standard repository/location to
store these packaged plugins with the %imgDir% applied, etc. Maybe on
plugins.jquery.com or maybe on a new sub-domain like
packages.jquery.comthat just follows a particular directory structure
and naming scheme.
--
Brandon
reason this bug came up is because Yehuda was using the event
system like no one really expected it to be used.
--
Brandon Aaron
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
jQuery Development group.
To post
jQuery returns a collection of dom elements. To operate on the DOM element
itself you'll need to get it out of the collection.
jQuery('#myForm').get(0).reset();
or a little shorter
jQuery('#myForm')[0].reset();
--
Brandon Aaron
On Wed, Oct 1, 2008 at 5:05 PM, SOSensible GMail [EMAIL PROTECTED
', ['color', 'font-family']);
--
Brandon Aaron
On Fri, Sep 26, 2008 at 1:44 PM, Cloudream [EMAIL PROTECTED] wrote:
May cause a little confuse:
$(#one).html( $(#two) );
== $(#one).html( $(#two).html() ); or == $(#one).html( $
(#two).val() || $(#two).text() ); ?
What about:
$(#one).css
70 matches
Mail list logo