[Solved] Search in text in link [closed]
Here’s a fiddle with the solution: http://jsfiddle.net/h7Wda/7/ You basically check if number/1/phone is located in the href of the element: $(this).attr(‘href’).indexOf(‘number/1/phone’) Same for the number/3/phone case. Any other value will return false. 1 solved Search in text in link [closed]