ben-g
9/12/2017 - 9:20 PM

jQuery - removing a function from a class, or an element

This function first checks the class and body element of the section. Then the function in question - an "on click" function - is told to "stop propagating" if it has a class of .postid-68

$('.salaries tbody').on('click', function(clickEvent) {
					clickEvent.stopPropagation().hasClass( "postid-68" );
				})