Modify ↓
Ticket #1489 (closed bug: fixed)
<caption> erroring on append and prepend, nothing on appendTo or prependTo
| Reported by: | bmsterling | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.1.4 |
| Component: | core | Version: | 1.1.3 |
| Keywords: | caption, append, prepend, appendTo, prependTo | Cc: | |
| Blocking: | Blocked by: |
Description
The following error out when adding to a <table>
$('table').append('<caption>');
$('table').append('<caption></caption>');
$('table').prepend('<caption>');
$('table').prepend('<caption></caption>');
Nothing happens to the following when adding to a <table> and returns an empty object
$('<caption>').appendTo('table')
$('<caption>').prependTo('table')
The following adds ONLY the word "Test" when adding to a <table>
$('table').append('<caption>Test</caption>');
$('table').prepend('<caption>Test</caption>');
$('<caption>Test</caption>').appendTo('table');
$('<caption>Test</caption>').prependTo('table');
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.

Fixed in SVN rev [2728].