fadeIn jquery in the calling of a function

1

the problem is that I need to apply fadeIn a function

success: function(data){
        console.log(data);
        viewUser();
    }

when the success occurs the viewUser(); will update the user table, the problem is that I would like to apply the effect fadeIN dejquery

    
asked by Josbert Hernandez 07.02.2017 в 14:51
source

1 answer

0

Your code would look something like this:

success: function(data){
    console.log(data);
    viewUser();
    $( "#MiTabla" ).fadeIn( "slow", function() {
        // Más codigo OPCIONAL para cuando termine el fadeIN...
     });
}
    
answered by 07.02.2017 в 15:35