xmlHttp.readyState 1
I'm getting xmlHttp.readyState 1 when sending these parameters and it only happens when parameter 'text' is very big.
var url="replaceText4.jsp";
url=url+"version="+version+"&work="+actualWork+"&secName="+secName+"&text="+text;
xmlHttp.open("POST",url,true);
xmlHttp.send(url);
Could you help me on this?
Related Article: Access is Denies in IE
is a JavaScript / DHTML / AJAX discussion thread by sammry that has 3 replies, was last updated 1 year ago and has been tagged with the keywords: access, denied.
softDeveloper
Junior Poster in Training
76 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Isn't there a ? missing?
Anyway, is your text url encoded, or do you just send plain text, including spaces and special characters?
pritaeas
Posting Prodigy
9,268 posts since Jul 2006
Reputation Points: 1,173
Solved Threads: 1,456
Skill Endorsements: 86
it's working like this now
var params = "versao="+version+"&obra="+obraActual+"&secName="+secName+"&texto="+texto;
xmlHttp.open("POST",url,true);
xmlHttp.setRequestHeader("Content-type","application/x-www-form-urlencoded;charset=UTF-8");
xmlHttp.setRequestHeader("Content-length", params.length);
xmlHttp.send(params);
softDeveloper
Junior Poster in Training
76 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Question Answered as of 1 Year Ago by
pritaeas