Skip to content Skip to sidebar Skip to footer

Don't Work 'fadeout' If There Is 'replacewith'.?

When i use of fadeOut and replaceWith together, does not work fadeOut. but if i use only of fadeOut it worked. i want use of each tow they together. how is it in my code? $.ajax({

Solution 1:

Here i tried to simulate your scenario http://jsfiddle.net/yY2AS/1/

your question was not very clear to me, anyway...

before makeing the `ajax request do

$this = $('.ser_form #paginate input:checkbox:checked').parent().parent();

then make the ajax call(i am guessing that the ajax call is to delete and update record)

in the success call back do

success: function(html){
            $this.fadeOut("slow");
           //rest of the code

Post a Comment for "Don't Work 'fadeout' If There Is 'replacewith'.?"