Skip to content

Instantly share code, notes, and snippets.

View notridan's full-sized avatar

Paulo.Dev notridan

View GitHub Profile
@notridan
notridan / gist:c3a8a0e1817afdc47e179c7efa7fdc1c
Created June 3, 2018 12:07 — forked from niallobrien/gist:3859740
Laravel & Bootstrap ajax modal example
// html
<div>This is my post</div>
<!-- Just put this div at the bottom of your template somewhere-->
<!-- Notice that its hidden by default, so if it doesnt get used, thats fine-->
<div class="modal hide"></div>
//JS
$.ajax({
type: 'post', // or post?