Solid,
I've been following this but with nothing to offer. Now I know the solution, I understand the problem!
My twopenny worth (after the hard work is done) .... it would be slightly(?) more economical to make $(this) just once inside the each loop:
$('.task-title').each(function() {
var $this = $(this);
$this.html( $this.html().replace(/(\d\d\d-\d\d\d-\d\d\d\d)/g,'<a href="tel:$1">$1</a>') );
});
Airshow
Airshow
WiFi Lounge Lizard
2,683 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372