I am trying to learn how to use ajax within Laravel. I have a button (#btn1) and on clicking that button i want to load some response from the server to an empty div (#content).
$('#btn').click(function() { $('#content').load(AJAX_URL); })