var params = "automessage="+firstvalue; xmlHttp.open("POST","./action/pagein/editAutomessage.php?"+params, true); xmlHttp.onreadystatechange = handleRequestStateChange_UserEditType; xmlHttp.send( "postDataParam=postDataValue" );