Serializing form data with field names that have dots in them.

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-04-30T00:44:49Z Indexed on 2010/04/30 0:47 UTC
Read the original article Hit count: 231

Filed under:
|

Does the serialize function in jQuery replace dots ('.') with underscores?

For example, I have a form field such as:

<input id="Project.name" name="Project.name" type="text">

When the form is POSTed, I'm serializing the form data and sending it to another PHP file to save. The dots seem to be converted to underscores. Is this normal behavior?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about form