Javascript Add query string parameter dynamically to some or all links on the current page - DevCommunity.info


Javascript Add query string parameter dynamically to some or all links on the current page

Posted by DanielS on February 13, 2011



This Javascript function retrieves all <a> tags (hyperlinks) from the current page, and updates each link to include the supplied query string parameter and value.

The third (optional) parameter passed to the function is an array of strings containing the domains that should be included when... [read more]

Rating

not rated

Reviews

There are currently no comments or reviews.

Submit a review:

Login required.