Ticket #11576 (closed bug: duplicate)
|Reported by:||mendrik76@…||Owned by:|
Dear mother of god! I've spent 3h debugging an IE8- bug today. Here is what happened. Whenever you use innerHTML to create new elements, ie will modify the original markup. In form tags particularly it moves the action attribute to the end of the tag and any attribute value without spaces will be stripped off its quotes. Now any url with a trailing slash will force the form tag to close itself. $("<form action="test/bla/"><input></form>) will become <form action=test/bla/><input/></form/>. Not sure JQuery can do anything about it. I fixed my project by adding a query string to the urls.