Posts Tagged ‘attributes’

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.