Showing posts with label magento 2 call jquery. Show all posts
Showing posts with label magento 2 call jquery. Show all posts

Monday, 18 July 2016

Custom jQuery use in magento 2

<script>
require(['jquery'],function($){ /*First call this function and after add your jQuery code*/

$( document ).ready(function() {
$(".navigation ul li").hover(function() {
    alert("hello");
});
});

});
</script>