Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;(function (window, document, undefined) {
- var qs = window.location.substring(window.location.indexOf('?') + 1);
- var linkElement = document.getElementById('put_link_id_here');
- linkElement.setAttribute('href', linkElement.getAttribute('href') + '?' + qs);
- })(window, window.document);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement