Skip to main content

Bug Tracker

Side navigation

#11576 closed bug (duplicate)

Opened April 10, 2012 01:15PM UTC

Closed April 10, 2012 01:29PM UTC

Last modified April 10, 2012 01:29PM UTC

innerHTML issues

Reported by: mendrik76@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

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.

Attachments (0)
Change History (2)

Changed April 10, 2012 01:29PM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

Changed April 10, 2012 01:29PM UTC by dmethvin comment:2

Duplicate of #6236.