nextcloud-app-radio/js/admin.js

16 lines
295 B
JavaScript
Raw Permalink Normal View History

2016-11-17 22:07:22 +00:00
$(document).ready(function(){
$('#somesetting').blur(function(event){
event.preventDefault();
var post = $( "#somesetting" ).serialize();
$.post( OC.filePath('radio', 'ajax', 'seturl.php') , post, function(data){
$('#radio .msg').text('Finished saving: ' + data);
});
});
});