[Proto-Scripty] Re: form.serialize not working in IE8

2011-06-15 Thread T.J. Crowder
Hi, On Jun 14, 5:40 pm, Don donlope...@gmail.com wrote: form.serialize in IE8 is returning a blank string, even though there are elements.  Should this be working in IE8? That seems really unlikely. What does your form look like? And in particular, do the form fields have `name` values (rather

[Proto-Scripty] Re: form.serialize not working in IE8

2011-06-15 Thread Don
On Jun 15, 2:25 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi, On Jun 14, 5:40 pm, Don donlope...@gmail.com wrote: form.serialize in IE8 is returning a blank string, even though there are elements.  Should this be working in IE8? That seems really unlikely. What does your form look

[Proto-Scripty] Re: form.serialize not working in IE8

2011-06-15 Thread T.J. Crowder
I figured it out.  I was wiping out the form by setting the innerHTML property of a parent div before calling form.serialize.  Interestingly though, this worked in previous versions of IE and still does in virtually every other browser, if you have a reference to the form before wiping it

[Proto-Scripty] Re: form.serialize not working in IE8

2011-06-15 Thread T.J. Crowder
And just because so many things about forms are special in IE, just a quick note that this is not specific to forms, the same thing happens to other content within the area being cleared: http://jsbin.com/elihi5/6 -- T.J. :-) On Jun 16, 4:16 am, T.J. Crowder t...@crowdersoftware.com wrote: I