[jQuery] Re: jquery form plugin - double action (fadein) problem

2007-06-14 Thread slakoz
Thanks! This one works too. regards, sławek

[jQuery] Re: jquery form plugin - double action (fadein) problem

2007-06-13 Thread Mike Alsup
Hmm, now I'm thinking that the load method is working as intended. A closer look reveals that it executes in the context of each target element. To clarify, you can still use the success handler because 'this' refers to the dom element in the callback: $('form#object').ajaxForm({ target:

[jQuery] Re: jquery form plugin - double action (fadein) problem

2007-06-12 Thread slakoz
here is a link to my fadein problem: http://www.torli.pl/fadein/index.html best regards sk

[jQuery] Re: jquery form plugin - double action (fadein) problem

2007-06-12 Thread slakoz
sample code of this problem is here: http://www.torli.pl/fadein/index.html

[jQuery] Re: jquery form plugin - double action (fadein) problem

2007-06-12 Thread slakoz
link to sample page with the problem: www.torli.pl/fadein/index.html

[jQuery] Re: jquery form plugin - double action (fadein) problem

2007-06-12 Thread slakoz
the problem is visualized at http://www.torli.pl/fadein/index.html

[jQuery] Re: jquery form plugin - double action (fadein) problem

2007-06-12 Thread Sławomir Kozłowski
link to sample page: http://www.torli.pl/fadein/index.html ROLLING STONES - A BIGGER BANG Warszawa Służewiec 25 lipca 2007 r. http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Frollingstones.htmlsid=1186

[jQuery] Re: jquery form plugin - double action (fadein) problem

2007-06-12 Thread slakoz
sample page: http://www.torli.pl/fadein/index.html

[jQuery] Re: jquery form plugin - double action (fadein) problem

2007-06-12 Thread lockman
link to sample: http://www.torli.pl/fadein/index.html lockman

[jQuery] Re: jquery form plugin - double action (fadein) problem

2007-06-12 Thread Mike Alsup
I see the problem. It's an issue with how the success handler is called from the form plugin. When you specify a target element the success callback is being invoked once for every matching element. This is not correct and I will need to fix it. In the meantime, you can mod your code like

[jQuery] Re: jquery form plugin - double action (fadein) problem

2007-06-12 Thread Mike Alsup
Yeah, it's certainly open to interpretation. As currently implemented it mimics the jQuery load method and so the behavior is the same for something like this: $('myTargets').load('myUrl', function() { alert('ok'); }); In the above you would get an alert for every matching target. But to me

[jQuery] Re: jquery form plugin - double action (fadein) problem

2007-06-12 Thread slakoz
Thanks Mike! Working really nice now. jquery rocks :) best reards, sławek

[jQuery] Re: jquery form plugin - double action (fadein) problem

2007-06-11 Thread slakoz
the problem exists in ie7, ie6, firefox2, opera. any suggestions? please help. regards sk