When posting form data to an iframe, be sure to put a NAME on the FRAME!

There was a Chrome update recently that broke a web form of mine.  I had the form posting to an iframe so that I could do a file upload without having to reload the whole page.  I had the id attribute of the iframe populated, but I didn’t previously require a name attribute on it.  After fiddling around with it for a while, I decided “what the heck…” and tossed a name attribute on it.  Voila!

As always, your mileage may vary and what works in one browser today might not work tomorrow.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: