Bug Tracker

Ticket #1525 (closed bug: fixed)

Opened 7 years ago

Last modified 3 years ago

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

comment:2 Changed 5 years ago by john

  • Status changed from new to closed
  • Version 1.1.3 deleted
  • Resolution set to fixed
  • Milestone 1.1.4 deleted
Note: See TracTickets for help on using tickets.