I have a textarea with an id of 'dataArrayField' which has code in it, example:
item1: {
type: 'foo',
fieldName: 'bar'}
},
item2: {
type: 'cat',
fieldName: 'dog'
}
I then run var content = $('#dataArrayField').serialize(); on this textarea, which has a nem of codeformat, so the returned data would be something like:
codeFormat=item1%3a+ etc etc
I then use the $.deparam(content) Javascript plugin to turn the serialized string to an
object.
This works, however, the only key that actually is returned, is the codeFormat name, then the value is the text in the field above, so I get something like this:

What can I do so that I can access all the information in the passed object!
#dataArrayFieldyourtextareaorform?serializeaformbut not atextarea, just take a look at yourhtml