Skip to content

Instantly share code, notes, and snippets.

@raank
Created October 17, 2016 03:02
Show Gist options
  • Select an option

  • Save raank/17ffd9b71050cda49f8bc02e033d2c1f to your computer and use it in GitHub Desktop.

Select an option

Save raank/17ffd9b71050cda49f8bc02e033d2c1f to your computer and use it in GitHub Desktop.
Form html to Ajax
<div class="col-xs-12">
<div id="alertas"></div>
{{ Form::open([
'url' => url('url/para/a/rota'),
'id' => 'MyForm',
'method' => 'POST'
]);
{{ Form::text('nome', '', ['class'=>'form-group', 'id'=>'nome']) }}
{{ Form::close() }}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment