jQuery - Replace contents of href="" with '#'
jquery
Solution
$('a').attr('href', '#');
Problem
I need a way of replacing the text contained within `<a href="this text"` using jQuery, I want to replace what ever text is held within quotes to a `'#'`. Any suggestions?