[jQuery] Modifying href attribute values

[jQuery] Modifying href attribute values


Can anyone provide guidance on how to modify href attributes in this
way:
Markup: <a href="22_foo.html#foo22-name">
Modify to: <a href="path/to/foo22-name.html">
i.e. removing everything up to and including the #, prepending a fixed
path value and appending ".html"
Thanks
Jonny