[jquery-dev] Got a problem - little help pls.

2009-03-28 Thread ne...@mydevpage.com
Hello all. I have a problem with ajax requests. I want to delete some things over json ajax request and it works fine but when I start to delete another one somehow it remembers previous url and it dispatch 2 requests or even more simultaneously. I have Administrators, Bots, Guests and for exam

[jquery-dev] Re: CONTEXT LOGIC

2009-03-28 Thread Ricardo
A bit off-topic: actually in 1.3.2, due to the bottom-up filtering approach, $('#foo').find('.someclass') is about 3x faster than $ ('#foo .someclass'). See for yourself: http://jquery.nodnod.net/cases/273/run (enable firebug) Some improvements to that have been landed a few weeks back, it was ev

[jquery-dev] Re: Need help with an IE issue (of course!)

2009-03-28 Thread Ricardo
You could drop the evaling altogether: var scripts = [ 'js/ui.core.js', 'js/ui.dialog.js', 'js/ui.tabs.js', 'js/ui.datepicker.js', 'js/ui.resizable.js', 'js/ui.accordion.js'], n = 0; $.getScript(scripts[n++], function(){ if (scripts[n])

[jquery-dev] Re: reference to undefined property jQuery.cache[id][name] for large element

2009-03-28 Thread Emma Irwin
Hi John, Thanks for your feedback, I hope you can help me understand a little bit more so that i can hopefully work around this issue. As mentioned, I *do* get this error in strict mode in Firefox but with strict disabled the calling jquery function fails anyway (with no explanation now). So d

[jquery-dev] Jquery AJAX calls simply hangs on firefox 2.0.x

2009-03-28 Thread sandeep
Hi, We are stuck with a major problem of jquery. We had implemented some AJAX features using jquery. It was working fine in our earlier office. We moved over to a new office, with new network and same old PC's and same old win XP operating system. After moving over to the new network, the jquery

[jquery-dev] Re: suggestion: delayed related AJAX requests

2009-03-28 Thread Brandon Aaron
Just to add another use case of such methods... I recently wrote a delayed mousemove special event that does similar functionality. I plan on extracting the throttle/debounce functionality into its own plugin for use-cases such as this ajax one. -- Brandon Aaron On Sat, Mar 28, 2009 at 1:53 AM, ol

[jquery-dev] Re: adding method to custom namespace

2009-03-28 Thread Balazs Endresz
Have a look at these: http://groups.google.com/group/jquery-dev/browse_thread/thread/b2f784b7575456dc/0cd276379f8a2f7d?show_docid=0cd276379f8a2f7d On Mar 28, 1:30 am, iceman2g wrote: > I asked this elsewhere and it was suggested that I ask here. > > So here goes > > I was curious if it's possibl

[jquery-dev] Re: adding method to custom namespace

2009-03-28 Thread Howard Rauscher
I tried to do something like this a couple of months ago, and you really can't do it efficiently. This method is the only real way to do it "$('div ul').myNamespace().myMethod();" And it is pretty messy. If you really wanted to do it this way "$('div ul').myNamespace.myMethod()," you would hav

[jquery-dev] Re: adding method to custom namespace

2009-03-28 Thread Julian Aubourg
I don't think it is possible. No matter how you turn it around, you'll lose the object context. I suppose your myNamespace() function is something like: $.fn.myNamespace = function() { return this; } right? 2009/3/28 iceman2g > > I asked this elsewhere and it was suggested that I ask here.

[jquery-dev] jquery AJAX call(post) response not recognised by jquery on firefox 2.0.x

2009-03-28 Thread sandeep
Hi, We are stuck with a major problem of jquery. We had implemented some AJAX features using jquery. It was working fine in our earlier office. We moved over to a new office, with new network and same old PC's and same old win XP operating system. After moving over to the new network, the jquery

[jquery-dev] adding method to custom namespace

2009-03-28 Thread iceman2g
I asked this elsewhere and it was suggested that I ask here. So here goes I was curious if it's possible to extend jquery to do something along the lines of "$('div ul').myNamespace.myMethod();"? So far the closet I've seen anyone come to this, is along the lines of "$('div ul').myNamespace().m

[jquery-dev] Re: Dean Edwards: Callbacks vs Events

2009-03-28 Thread Andrea Giammarchi
@Dean, I wrote a post in your blog which apparently discarded it completely ... anyway, somehow you already answered cause you said you use a meta rather than document.body or document.documentElement. My concern was about generic slowdown performances like DOMAttrModified in Gecko if applied to th

[jquery-dev] Re: ADDING METHOD TO OBJECT.PROTOTYPE BREAKS SIZZLE ?

2009-03-28 Thread DBJDBJ
First: Ok, I will not. It looks silly I know. Second + Third : -- I do never extend object prototype myself. But 50% of javascript users will. As soon as they find some "awesome" snippets on the net. The point here is not what me and you (or unavoidable Daniel) know and do with jQ. The poi