M wrote:
well if anyone cares more about javascript than grammar and punctuation,
although a simple find, document.locati on.href does the trick.
It might "do the trick", but it doesn't so what you actually asked for. And
it won't do the trick when a user who doesn't have a browser with
JavaScript available and enabled turns up - which is why I suggested taking
a more sensible approach when I responded to your original message. For
some reason you decided to ignore the solution to your question in favour
of treating my post script as an invitation to make a personal attack on
me.
Since it seems that your real problem seems to be about making a button act
as a link, you should probably look into CSS instead ... and create a link
that looks like a button.
--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is