function submitData(fdata)
{
var formData = new FormData(fdata);
var ajxhttp = new XMLHttpRequest();
ajxhttp.open(fdata.method,fdata.action,true);
ajxhttp.send(formData);
return false;
}
xhr.setRequestHeader('Content-type', 'application/json; charset=utf-8');
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=utf-8')