$.ajax({
url: '/board/write_update.php',
type: 'POST',
processData: false,
contentType: false,
data: formData,
cache : false,
timeout: 300000,
datatype:"json",
success: function (data, status) {
alert(data.href);
location.replace(data.href);
},
error : function(request,status,error) {
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
}
});