0

I am trying to add jQuery code in phtml file but it's not working in Magento 1, But it's working in console. Please help me. Here is my code...

<script type="text/javascript"> 
var $j = jQuery.noConflict();
 $j(document).ready(function($) {

    $('div.itemSubMenu.designer.level1').hide();      
       $("a.itemMenuName.designer.level1").hover(function () {

            $(this).next('div.itemSubMenu.designer.level1').slideToggle('slow');

        });
    });
</script>
kunj
  • 3,699
  • 2
  • 10
  • 25
Ashna
  • 518
  • 3
  • 16

0 Answers0