Created
September 11, 2012 11:07
-
-
Save all4miller/3697625 to your computer and use it in GitHub Desktop.
Intercept link and change 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
$('a.mapping-link').click(function() { | |
var href = $(this).attr('href'); | |
href += '?report_month=' + $('#report_month').val(); | |
href += '&dealer_code=' + $('#dealer_dealerCode').val(); | |
$(this).attr('href', href); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment