[jQuery] Re: $.post-ing data brackets as first character of form value adds semi-colon to input name

2009-07-14 Thread Jeff Nouwen
On Jul 13, 3:54 pm, Jeff Nouwen wrote: > My PHP script is being called through CodeIgniter, but I don't > immediately see anything in its code that would cause the addition of > the semi-colon. And upon closer inspection of CodeIgniter's source, it is indeed the cause of my

[jQuery] $.post-ing data brackets as first character of form value adds semi-colon to input name

2009-07-14 Thread Jeff Nouwen
When I $.post() the values of a form, if one of the values start with any of "()[]{}", then the associated form element name has a semi- colon appended to it when I finally extract the POST data in my PHP script. The Javascript: var formValues = $("#formName").serialize(); alert(