first commit
This commit is contained in:
23
public/lib/app/app.js
Normal file
23
public/lib/app/app.js
Normal file
@ -0,0 +1,23 @@
|
||||
function ModalLoad(idmodal,title,path) {
|
||||
$("#"+idmodal+" .modal-header h4").text(title);
|
||||
$("#"+idmodal+" #framemodal").attr("src",path);
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
$("#selectproject").on("change", function() {
|
||||
url=$(this).data("change");
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: url,
|
||||
data: {
|
||||
id: $(this).val()
|
||||
},
|
||||
success: function (result) {
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user