using serialize() I have no problems to serialize the values inserted in the input text fields of a form, but..how to add to that serialized data the content of <span> tags that are also inside of that form?
using serialize() I have no problems to serialize the values inserted in the input
Share
I would add the span contents to the form in hidden inputs, and then serialise the form as usual…
for html like this
run this before serializing your form