hey,

I got the solution.

now i am using
                  var dataString = 'phone='+ phone +  '&question=' +
escape(question);   it resolves the problem.

thanks for response.



On Apr 8, 4:30 pm, "[email protected]"
<[email protected]> wrote:
> i agree.
>
> i am entering special characters in "QUESTION" FORM FIELD.
> var dataString = 'phone='+ phone +  '&question=' + question;
> var args =  ({url:"index.cfm?
> event=help.contactUs.sendEmail",dataType:"html",data:dataString,success:rng.ajax.updateAjaxMsgDisplayer,error:w,type:"POST"});
> ajaxSubmit(args);
>
> function AjaxSubmit(arg)
> {
>   $.ajax({
>     url: arg.url,
>     type: arg.type,
>     dataType: arg.datatype,
>     data: arg.data,
>     success: arg.success,
>     error: arg.error,
>         timeout:arg.timeout,
>         global:arg.global
>     });}
>
> ---------------------------------------------------
> On Apr 8, 4:07 pm, Dave Methvin <[email protected]> wrote:
>
> > > I am submitting a ajax request with special characters ("!...@#$%^&*()_+}
> > > {":<>?;'[]") for a form field and I am getting a error.
>
> > A little more information would help; code would be best. Are the
> > special characters in the URL, the form element names, the form data,
> > or somewhere else?

Reply via email to