Get local href value from anchor (a) tag?

I have an anchor tag that has a local href value, and a JavaScript function that uses the href value but directs it ...