$(document).ready(function() {
$("html").on("submit","#contact_form",function(e){
$('#loader-icon').show();
e.preventDefault();
$("#send_form_status").html('').hide();
var data=$("#contact_form").serialize();
$.post("php/kontaktmail.php",data,function(res){
$("#send_form_status").html(res.msg).show();
$('#loader-icon').fadeOut(1500);
if(res.status==1){
$("#contact_form")[0].reset();
}
});
});
});