jQuery: intercepting out going link and adding parameters

Posted by BahaiResearch.com on Stack Overflow See other posts from Stack Overflow or by BahaiResearch.com
Published on 2010-05-14T17:49:27Z Indexed on 2010/05/14 17:54 UTC
Read the original article Hit count: 201

Filed under:

When a user clicks a link on my page, I need to, before it gets actioned by the browser, add the param Hello=True to the url.

So, the user clicks MyPage.aspx in and gets sent to MyPage.ASPX?Hello=True instead.

Has to be client side, preferably using jQuery

I can add an attribute to the tags if needed.

Ian

© Stack Overflow or respective owner

Related posts about jQuery