1

I need to hide one div and show another using slide function of jQuery.

In hide function, I am using this code

$("id").hide("slide", { direction: 'left' },1000);

and in show I am using this code:

$("id").show("slide", { direction: 'left' },1000);

and making an ajax call to hide and show these divs:

    $.ajax({
            type: "GET",

            url: '@Url.Action("tabSetting", "Home")',

            async: "true",

            beforeSend: function () {

                hidediv();

            },

            success: function (data) {

                $("#settings").html(data);

            },

            complete: function () {

                showdiv();

            }

        });

But with this code I get an error "TypeError: b.easing[this.easing] is not a function"

zelibobla
  • 1,498
  • 1
  • 16
  • 23
Prince Chopra
  • 167
  • 11

0 Answers0