$(document).ready(function(){
$("button.submit").click(function(){
$.ajax({
type: "POST",
url: "up.html",
data: $('form.feedback').serialize(),
success: function(message){
$("#feedback").html(message)
$("#feedback-modal").modal('hide');
},
error: function(){
alert("Error occurred but thats ok, because at least jquery is being called");
}
});
});
});
<div id="feedback">OPP</div>
That is the only element on the page with anything linked to the word feedback. It is clearly not a form so form.feedback is going to give you nothing.
Define "not working" - I see a modal when I click "risk"