theEditor=FCKeditorAPI.GetInstance("SJSEditor");
xmlHttp.onreadystatechange=stateChanged;
xmlHttp.open("POST",url,true);
xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=utf-8");
xmlHttp.send("q="+theEditor.GetXHTML());xmlHttp.send("q="+[b]escape[/b](theEditor.GetXHTML()))
Re: Loosing spaces with AJAX POST
Re: Loosing spaces with AJAX POST
xmlHttp.send("q="+encodeURIComponent(theEditor.GetHTML()))Re: Loosing spaces with AJAX POST
Re: Loosing spaces with AJAX POST
I have just run a test submitting the contents of a standard textarea instead of the FCKeditor via AJAX. In this case, too, the input text loses its spaces... continuing to investigate, but any help would be appreciated.
Re: Loosing spaces with AJAX POST