#11576 closed bug (duplicate)
innerHTML issues
Reported by: | 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.
Change History (2)
comment:1 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
Note: See
TracTickets for help on using
tickets.
Duplicate of #6236.