var title=document.getElementById("usertitle").value; var tag=document.getElementById("usertag").value; var intro=document.getElementById("userintro").value; var content=document.getElementById("usercontent").value;
var v = "title="+title+"tag="+tag+"intro="+intro+"content="+content; xHRObject.open("POST","../ajax/ajax.php",true); xHRObject.setRequestHeader("Content-Type","application/x-www-form-urlencoded");