Showing posts with label jQuery use in magento 2. Show all posts
Showing posts with label jQuery use in magento 2. 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>