Modify ↓
Ticket #6815 (closed bug: worksforme)
Dynamically inserting extra closing tag throws error in IE
| Reported by: | IrritableGourmet | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.3 | |
| Component: | core | Version: | 1.4.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I was loading (.load()) a PHP page containing row/cell html into a table and was receiving an Object Expected error in IE7 for line 103 char 403 of the jQuery file. I accidentally put a superfluous </table> tag at the end of the imported page. Removing it fixed the issue.
I also tested with .html and .get/.post and received the same error. It works fine in Firefox and Chrome.
Change History
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.

That's why the docs say:
http://api.jquery.com/jquery/#jQuery2
If the html is well-formed (as it should be) I don't think there's a problem. Error cases often perform inconsistently cross-browser.