Skip to content

Instantly share code, notes, and snippets.

@acoyfellow
Created September 16, 2022 20:06
Show Gist options
  • Save acoyfellow/1b00d8849113c868299029e8a4aecea8 to your computer and use it in GitHub Desktop.
Save acoyfellow/1b00d8849113c868299029e8a4aecea8 to your computer and use it in GitHub Desktop.
Add URL parameters into formData
<script>
window.beforePost= function(){
params.forEach(function(param){
formData[param.key]= param.val;
});
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment