Opened 15 years ago
Closed 15 years ago
#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: | |
Blocked by: | Blocking: |
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');
Note: See
TracTickets for help on using
tickets.
Fixed in SVN rev [2728].