Your correct answer is incorrect. $.contains() specification says 'Select all elements that contain the specified text.' $.has() is the correct answer - from the jQuery specification: 'Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.'
2016 Jun 17, 11:20:48 PM
Login in to like
Login in to comment