Skip to content

Instantly share code, notes, and snippets.

@megub
Created July 22, 2015 22:52
Show Gist options
  • Save megub/c69c1ef76e08f6e2db3c to your computer and use it in GitHub Desktop.
Save megub/c69c1ef76e08f6e2db3c to your computer and use it in GitHub Desktop.
Change form field name
<script>
$('#first_name').attr('name', 'first-name');
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment