[jQuery] Removing character from link text
I've experimented a fair amount over time, and nothing seems to really
work.
I am trying to replace the underline character _ from all links text
that have "documents/" as part of the href, with a space;
not from the href, just the link text.
e.g. $("a[href*='documents/']").val().replace("_", " ");
I know $("a[href*='documents/']").css("color","red"); works, so
perhaps it's not that far off.
Any idea what I'm missing?
Thanks