[jQuery] Re: Callback Function had a look but don't get it

2009-10-01 Thread Jon Banner
the link should have it's normal state and actions when you don't return false, as in the example code you provided. If you want to add a call back to fire after the fade out: $(function() { // document is ready for load $('a').click(function() {

[jQuery] Re: Callback function after switchClass()

2009-05-12 Thread waseem sabjee
Hi. What type of animation will you be making ? I could help :) On Tue, May 12, 2009 at 9:30 PM, kgosser kgos...@gmail.com wrote: Hey all, I'm trying to do some animation designs. Basically where I'm stuck is I have a bunch of things I want to do, but not until the duration of the

[jQuery] Re: Callback function after switchClass()

2009-05-12 Thread waseem sabjee
here is one way to create delay setTimeout(function() { // do function after 0.5 seconds }, 500); On Tue, May 12, 2009 at 9:32 PM, waseem sabjee waseemsab...@gmail.comwrote: Hi. What type of animation will you be making ? I could help :) On Tue, May 12, 2009 at 9:30 PM, kgosser

[jQuery] Re: callback function

2009-02-25 Thread MorningZ
The syntax would be like $(#gallery-flickr).flickr({ api_key: f28804be7a09c5845676349c7e47d636, per_page: 4, callback: function() { $('a').attr({ rel: prettyPhoto}); } }); On Feb 24, 11:57 pm, mlabee01 mari...@savariba.com wrote: Hello, I’m pretty new in the

[jQuery] Re: Callback function not working

2009-01-25 Thread Stephan Veigl
haven't tested it, bu I guess the this variable is the problem in your callback $(#date_+$(this).attr(id)).html(Done!); try: var el = $(this); $.post(includes/updateleverans.php,{id:el.attr(id), date:date}, function (data) { $(#date_+el.attr(id)).html(Done!); }); by(e) Stephan

[jQuery] Re: Callback function not working

2009-01-24 Thread Althalos
and also $(#date_+$(this).attr(id)).html(Updating..); works fine! On 24 Jan, 16:39, Althalos ca...@ekdahlproduction.com wrote: Hello, I have a callback function belonging to a $.post that won't work. Anyone know why? This is my function: function(date) {