nouveau fichier : SRC/public/js/setListeOeuvre.js

This commit is contained in:
sidya82 2015-02-19 17:36:39 +01:00
parent 2a18c47789
commit 5146b2f6af
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" );
});
});
});