Replace href hyperlink

Hi folks could you help…

How can I on load grab this links hyperlink and id store them as separate variables finally replace hyperlink.

Now create onclick event to add link value to that link on click…

<a href="" id="friendship838695">
                        Add to Friends

On page ready needs to be like this:

<a href="javascript://" id="friendship838695">
                        Add to Friends

OnClick add this restore url value:


I’m thinking it would be better as a form element or a page button. i.e. the link isn’t really a “GET this page” it’s more a “POST this action”.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.