Created
January 21, 2020 19:51
-
-
Save aatronco/401098dcb2c9d2929cd79a97766270ca to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<script> | |
$(document).ready(function(){ | |
const queryString = window.location.search; | |
var decodedString = decodeURIComponent(queryString) | |
console.log(decodedString.slice(1)); | |
$("#contact_message").val(decodedString.slice(1)); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment