simple-expand icon indicating copy to clipboard operation
simple-expand copied to clipboard

conflicts with other javascripts

Open rakesh-baikar opened this issue 10 years ago • 0 comments

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

rakesh-baikar avatar Oct 22 '14 13:10 rakesh-baikar