Using the Toggle () JQuery

0

I'm a beginner programmer, and I'm trying to use an animation with toggle (), but this one is working, showing and hiding a specific div, but it does not animate the toggle, I'd like to check if the syntax is correct. / p>

function toggle(idCliente){
    $("tr[id^='mostraDiv']").stop(false, true).slideUp("slow");
    $("#mostraDiv"+idCliente).stop(false, true).slideToggle("slow");
}
    
asked by anonymous 24.08.2015 / 17:09

0 answers