blob: f9c19acbff49571c17b03a5cfb1fba4a7c70329a (
plain) (
tree)
|
|
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('input[name="csrf-token"]').attr('content')
}
});
jQuery('select#call-sign').change(fillTable);
jQuery(document).ready(fillTable);
function fillTable() {
sign = jQuery('select#call-sign').first().val();
jQuery.post('/api/activities', {'call-sign': sign}, function (data, status) {
console.log(data);
});
}
|