You can just use the traditional style of serialization. Just set:
jQuery.ajaxSettings.traditional = true;

--John



On Thu, Jan 14, 2010 at 3:03 AM, Ishbir <ishbi...@gmail.com> wrote:
> How to replicate the problem-
>
> 1. Create a form with an input field, the name of which includes
> [ and ]. For e.g. Shout[message].
> 2. Try to serialize the form and display the value using the
> javascript alert function. The square brackets of the name attribute
> will be html encoded however that behavior is not desired since the
> name should not change while the value of the text field should be
> html encoded.
>
> A workaround-
>
> Use a separate function to replace the html codes of the square
> brackets back to the original brackets.
>
> Please fix this problem in the next version. :)
>
> --
> You received this message because you are subscribed to the Google Groups 
> "jQuery Development" group.
> To post to this group, send email to jquery-...@googlegroups.com.
> To unsubscribe from this group, send email to 
> jquery-dev+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/jquery-dev?hl=en.
>
>
>
>
-- 
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en.


Reply via email to