Skip to content

conflicts with other javascripts #14

Description

@rakesh-baikar

Hello Sylvain,

we are implement your script in our .net framework with ajax hide and show, but the behavior of expander is totally different.

here i paste the ajax code for you

if ($(".collapseBtn").eq(ind).hasClass("collapsed") == true) {

       $(".collapseBtn ").eq(ind).removeClass("collapsed")
       $(".collapseBtn ").eq(ind).addClass(" expanded")
       $(".content").eq(ind).show();
   } else if ($(".collapseBtn ").hasClass("expanded") == true) {
       // alert("2")
       $(".collapseBtn ").removeClass("expanded")

       $(".collapseBtn ").eq(ind).addClass("collapsed")
       $(".content").eq(ind).hide();
       //$(".content").css("display", "none");

   }

Thank you in advnce

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions