Re: [whatwg] Form Serialization

2009-01-06 Thread Ian Hickson
On Wed, 8 Aug 2007, Garrett Smith wrote: It would be useful to have: HTMLFormElement.prototype.toJSONString HTMLFormElement.prototype.getDataSetString What are the use cases for this? On Thu, 9 Aug 2007, Michael A. Puls II wrote: Yes, these would be useful for 2 reasons that I can

Re: [whatwg] Form Serialization

2009-01-06 Thread Ian Hickson
Sorry, missed this when writing my earlier reply. On Fri, 10 Aug 2007, Garrett Smith wrote: Why would anyone want to serialize a FORM? FORMs are sometimes used for XMLHttpRequest. Using a FORM for an XHR is a more explicit than hard coding the url and params in the javascript. It's a

Re: [whatwg] Form Serialization

2009-01-06 Thread Michael A. Puls II
On Tue, 06 Jan 2009 07:07:38 -0500, Ian Hickson i...@hixie.ch wrote: On Wed, 8 Aug 2007, Garrett Smith wrote: It would be useful to have: HTMLFormElement.prototype.toJSONString HTMLFormElement.prototype.getDataSetString What are the use cases for this? On Thu, 9 Aug 2007, Michael A.

Re: [whatwg] Form Serialization

2009-01-06 Thread Ian Hickson
On Tue, 6 Jan 2009, Michael A. Puls II wrote: Are browsers actually buggy here? You probably won't buy it, but I like the idea of using a form as a user input data gatherer for in-page js-based apps where you do custom things with the data and often don't actually submit the data

Re: [whatwg] Form Serialization

2009-01-06 Thread Michael A. Puls II
On Tue, 06 Jan 2009 17:07:00 -0500, Ian Hickson i...@hixie.ch wrote: On Tue, 6 Jan 2009, Michael A. Puls II wrote: Are browsers actually buggy here? You probably won't buy it, but I like the idea of using a form as a user input data gatherer for in-page js-based apps where you do custom

Re: [whatwg] Form Serialization

2009-01-06 Thread Garrett Smith
On Tue, Jan 6, 2009 at 9:11 PM, Michael A. Puls II shadow2...@gmail.com wrote: On Tue, 06 Jan 2009 17:07:00 -0500, Ian Hickson i...@hixie.ch wrote: On Tue, 6 Jan 2009, Michael A. Puls II wrote: Are browsers actually buggy here? You probably won't buy it, but I like the idea of using a

Re: [whatwg] Form Serialization Idea

2007-09-24 Thread Garrett Smith
I've cross-posted. Bad. I'm putting this back on WHAT WG It's a web-app thing, but related to HTML5. HTML 5 has two lists. On 9/24/07, Subbu Allamaraju [EMAIL PROTECTED] wrote: Does this approach take the enctype into account? What is the behavior if a given form can't be serialized for a

Re: [whatwg] Form Serialization`

2007-08-10 Thread Garrett Smith
On 8/8/07, Garrett Smith dhtmlkitchen at gmail.com wrote: Most libraries now are providing a way to serialize a form. It would be useful to have: HTMLFormElement.prototype.toJSONString HTMLFormElement.prototype.getDataSetString HTMLFormElement.prototype.toJSONString would

Re: [whatwg] Form Serialization

2007-08-09 Thread Michael A. Puls II
On 8/8/07, Garrett Smith [EMAIL PROTECTED] wrote: Most libraries now are providing a way to serialize a form. It would be useful to have: HTMLFormElement.prototype.toJSONString HTMLFormElement.prototype.getDataSetString HTMLFormElement.prototype.toJSONString would return an object

[whatwg] Form Serialization

2007-08-08 Thread Garrett Smith
Most libraries now are providing a way to serialize a form. It would be useful to have: HTMLFormElement.prototype.toJSONString HTMLFormElement.prototype.getDataSetString HTMLFormElement.prototype.toJSONString would return an object literal that contains the enabled (not readonly) form element