Skip to content

Instantly share code, notes, and snippets.

@IgorDePaula
Created November 29, 2023 11:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IgorDePaula/e9204588d01769c98be77d0fa8b5a153 to your computer and use it in GitHub Desktop.
Save IgorDePaula/e9204588d01769c98be77d0fa8b5a153 to your computer and use it in GitHub Desktop.
{{$titulo}}
<script>
let variavel
function addField(field){
variavel += `<input name="field[${field}]" />`
}
</script>
<button onclick="javascript:addField({{$field}})">add</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment