This commit is contained in:
Malibu 2015-02-19 17:56:13 +01:00
commit 42b4afaf57
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
$(document).ready( function() {
$('#enregistrer').click(function() {
event.preventDefault();
send = {idListeOeuvre : " " ,
idOeuvres : [1,2,3,4,4] }
url = "/setListOeuvres";
$.post(url,
send,
function( data ) {
})
.done(function() {
console.log( "success" );
})
.fail(function() {
console.log( "error" );
});
});
});