Modify ↓
Ticket #8502 (closed bug: invalid)
.append on IE8 stops script execution.
| Reported by: | sein.adamczyk@… | Owned by: | sein.adamczyk@… |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.next |
| Component: | unfiled | Version: | 1.5.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I found out that using sth like $("input[name=myInput]").append('<input name="myNewInput" type="hidden" value="" />');
stops script execution and throws:
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Unexpected method execution. Row: 5114 Character: 5 Code: 0 URI: http://localhost/js/jquery-1.5.1.js
Tested on IE8 for Windows XP and Windows Vista
Change History
comment:1 Changed 2 years ago by ajpiano
- Owner set to sein.adamczyk@…
- Status changed from new to pending
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Thanks for your time and interest in helping the jQuery project, but I'm pretty sure this isn't a valid bug. It is not possible to insert an input element inside of another input element. Furthermore, you did not provide a testcase that complies with the bug reporting guidelines.