Bug Tracker

Opened 15 years ago

Closed 13 years ago

Last modified 11 years ago

#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:
Blocked by: Blocking:


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 (1)

comment:2 Changed 13 years ago by john

Milestone: 1.1.4
Resolution: fixed
Status: newclosed
Version: 1.1.3
Note: See TracTickets for help on using tickets.