169
rated 0 times
[
174]
[
5]
/ answers: 1 / hits: 75142
/ 13 Years ago, fri, august 5, 2011, 12:00:00
I am using ckeditor to format some data inside my textarea
<textarea id=editorAbout rows=70 cols=80 name=editorAbout></textarea>
Now when i try to post this data using jQuery.ajax
like this,
var about=escape( $(#editorAbout).text());
$.ajax({
type: POST,
url: ../Allcammand.aspx?cmd=EditAboutCompany&about=+about,
type:post,
async: false ,
success: function(response){
},
error:function(xhr, ajaxOptions, thrownError){alert(xhr.responseText); }
});
I get the error
HTTP Error 414. The request URL is too long.
I am getting the error here: http://iranfairco.com/example/errorLongUrl.aspx
Try clicking on the Edit Text button at the bottom left of that page.
Why is this happening? How can I solve it?
More From » jquery