web development course reference
//Kirtishil Patil
this code is used to display active element with blue background from lists
$('#ul_id').on('click', 'li', function()
{
$(this).addClass('active').siblings().removeClass('active');
});
No comments:
Post a Comment