Jitendra Kumar

Jitendra Kumar

  • NA
  • 189
  • 22.9k

Please Give me solution for this jquerry code

Oct 26 2018 6:26 AM
it is working but my page not is redirectyeing imean href is not working
 
 
$(document).ready(function () {
$('.nav li a').click(function(e) {
$('.nav li.active').removeClass('active');
var $parent = $(this).parent();
$parent.addClass('active');
e.preventDefault();
});
});

Answers (1)