Chorverwaltung
This commit is contained in:
@ -36,3 +36,21 @@ $("#verlag").autocomplete({
|
||||
}, {
|
||||
minLength: 2
|
||||
});
|
||||
|
||||
$("#songbook").autocomplete({
|
||||
source: function(request, response) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "../controller/admin_suche.php",
|
||||
data: {
|
||||
term: request.term,
|
||||
function: "songbook"
|
||||
},
|
||||
success: response,
|
||||
dataType: 'json',
|
||||
delay: 10
|
||||
});
|
||||
}
|
||||
}, {
|
||||
minLength: 2
|
||||
});
|
||||
|
Reference in New Issue
Block a user