Skip to content

Instantly share code, notes, and snippets.

@IgorDePaula
Created November 29, 2023 11:37
Show Gist options
  • 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