Click here to Skip to main content
15,901,505 members

Comments by partapsingh (Top 1 by date)

partapsingh 1-Nov-17 5:50am View    
$('.nav a').on('click', function(){
alert("hi");
location.href = "https://stackoverflow.com/";
//var NavId = this.id;

//fxnNavClicked(NavId);

});
This is the code for nav>ul>li>a on click event...
it only display Hi but does not load the page