Toggle class in jQuery

Written by: admin | Date: Friday, October 7th, 2016
Categories: jQuery

jQuery(document).on('click','.replyPost, .cancelPost', function(){
jQuery(this).toggleClass("cancelPost replyPost");
});


Comments are closed.