[jquery-dev] Re: $.data(elem) API changed in 1.4pre ?

2009-10-14 Thread Andrea Giammarchi
Hi John. This expando and node object relations is something I am kinda dealing with every day. I have not read jQuery 1.4 solution yet but I wonder if my latest post, created "for this occasion", could give jQuery some good advice/suggestion. http://webreflection.blogspot.com/2009/10/dom-node-pro

[jquery-dev] Re: More info on bug #5264

2009-10-14 Thread Dave Methvin
> I'm new to working on jQuery core. I spent time investigating #5264 > http://dev.jquery.com/ticket/5264 Hi, and thanks for any help you can offer in reproducing these issues. I've been whittling down the tickets for the past couple of weeks, but mainly going for the easy marks -- spam, totally

[jquery-dev] serializeArray and select boxes - odd behaviour

2009-10-14 Thread Saurus
I am seeing some strange behaviour from IE8 using serializeArray in Jquery 1.3.2 and was wondering if someone could explain why this is happening. Working with IE8 I do not get unchanged select boxes included in the object returned by serializeArray. here is my html: using IE8 versi

[jquery-dev] Close Bug #4847

2009-10-14 Thread gregory tomlinson
Hello I have investigated bug #4847, it appears to be caused by confusion between $.ajax() and $.ajaxSetup(). I attached an example that demonstrates the error event being called successfully to the bug report http://dev.jquery.com/ticket/4847 I believe this critical bug, can be closed. thanks -

[jquery-dev] Re: $.data(elem) API changed in 1.4pre ?

2009-10-14 Thread Mark Gibson
Thanks John, that makes complete sense, I too am not sure why jQuery UI doesn't use a counter either. In my own code I have a plugin that generates an id if one is not already present on an element: (function($) { var prefix = 'id' + (+new Date()) + '-', count = 0; // Get the id of an element,

[jquery-dev] Re: $.data(elem) API changed in 1.4pre ?

2009-10-14 Thread John Resig
Hi Mark - This was intentional. We could no longer guarantee that an ID would be attached for an element at all times (which is what was done before). Additionally calling that method would attach an expando and object to an empty element - even if no data needed to be stored (which is bad). Almo

[jquery-dev] $.data(elem) API changed in 1.4pre ?

2009-10-14 Thread Mark Gibson
Hi, I've noticed that the behaviour of $.data() has changed in 1.4pre, $.data(elem) no longer returns the cache id, it returns all the data items or null. this will probably break a lot of code (already breaks jQuery UI Tabs) Is this intentional, or a bug? - Mark. --~--~-~--~~-

[jquery-dev] Re: Expanding or contracting on resize?

2009-10-14 Thread Cincinatus
On Oct 13, 7:12 pm, Dave Methvin wrote: > > Is there a way to know if the user is expanding or contracting the > > window size even if he changes directions midstream? > > Some browsers only fire window.onresize when the user releases the > mouse button, so in general it's not possible to track