Initial Commit
This commit is contained in:
17
public/assets/js/crew-designer.js
Normal file
17
public/assets/js/crew-designer.js
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
$(document).ready(function() {
|
||||
sportslist();
|
||||
});
|
||||
|
||||
function sportslist(){
|
||||
$.ajax({ //create an ajax request to load_page.php
|
||||
|
||||
type: "GET",
|
||||
url: "./sportslist",
|
||||
dataType: "html", //expect html to be returned
|
||||
success: function(response){
|
||||
|
||||
$("#div_sportsList").html(response);
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user