Skip to main content

Bug Tracker

Side navigation

#12940 closed bug (notabug)

Opened November 22, 2012 01:32AM UTC

Closed November 22, 2012 02:42AM UTC

html() and text()

Reported by: yun Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:

When i use $("li").text() I can obtained all the text of the <li>. However, when I use $("li").html(), I can only to obtained the first node of <li>. html() and text() are not working on the same context. The version of the jquery is 1.8.3.

Attachments (0)
Change History (1)

Changed November 22, 2012 02:42AM UTC by rwaldron comment:1

resolution: → notabug
status: newclosed

Did you read the docs before filing this?,