A
Andy Fish
Hi,
I have a webpage with some javascript that constructs some data structures,
some of which contain nested structures or arrays of other structures. It's
the same order of complexity as a web.xml file, say.
I need to post the whole lot to the server and I'm not sure which is the
best way to do it. It has to be browser-independent. The only ways I can
think of are:
(a) construct a form on the fly with lots of controls, one for each
primitive value
(b) put the whole lot in a big text box (but in which format - xml?) and
then post that
Any advice or ideas would be most welcome.
Andy
I have a webpage with some javascript that constructs some data structures,
some of which contain nested structures or arrays of other structures. It's
the same order of complexity as a web.xml file, say.
I need to post the whole lot to the server and I'm not sure which is the
best way to do it. It has to be browser-independent. The only ways I can
think of are:
(a) construct a form on the fly with lots of controls, one for each
primitive value
(b) put the whole lot in a big text box (but in which format - xml?) and
then post that
Any advice or ideas would be most welcome.
Andy