0

i'm confused why jquery click event not working on firefox, but all other browsers working. Any idea?

$(".stockTreeItemHelperClick").bind("click", function(event) {

  $(this).parent().parent().children().each(function() {
    var tag = $(this).prop("tagName").toLowerCase();
    if(tag == "ul") {
      $(this).toggle();
    }
  });
});

https://jsfiddle.net/m5gkuLc4/

0 Answers0