Created
June 22, 2016 21:46
-
-
Save leepettijohn/b9fa2df17f166f4a464f54dc633d0fe9 to your computer and use it in GitHub Desktop.
jQuery - Append to link href / url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _href = $("a.variables").attr("href"); | |
$("a.variables").attr("href", _href + '?id='+ $_GET["id"]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment