I have a simple link inside my tml (apache tapestry specific) :
Now on the browser if I am trying to click the link, actually it's redirecting to
Instead of it should open a new tab for that link.
So the logic which I am thinking is :
2) Get the href value of anchor tag
3) Append http:// at the start, if it doesn't contains it.
How can I write the function using the Prototype.js library?