Modify ↓
Ticket #1525 (closed bug: fixed)
Incorrect example for append( child string / child nodes )
| Reported by: | hanst | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | docs | Version: | |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Under the section: API/1.1.2/DOM/Manipulation append( child string / child nodes ) http://docs.jquery.com/DOM/Manipulation#append.28_child_string_.2F_child_nodes__.29
The example states:
$("<input />").appendTo('p');
Which is, as far as I can see, the wrong example. It does not demonstrate the method in the heading. The rest of the example is also consistently wrong.
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.
