Merge branch 'master' of https://github.com/matthieupenchenat81/ModuleWeb
This commit is contained in:
commit
42b4afaf57
20
SRC/public/js/setListeOeuvre.js
Normal file
20
SRC/public/js/setListeOeuvre.js
Normal 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" );
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user