Skip to main content

Bug Tracker

Side navigation

#12703 closed bug (notabug)

Opened October 11, 2012 11:01AM UTC

Closed October 11, 2012 12:30PM UTC

Selector: Unable to find element by css value innerHTML/innerText.

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: selector Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:
Description

Unable to get innerHTML/innerText attribute from element.

Try to find element like jQuery.find("a[innerHTML=10]").

This works fine in jQuery 1.6~1.7 version.

Attachments (0)
Change History (1)

Changed October 11, 2012 12:30PM UTC by gibson042 comment:1

component: unfiledselector
resolution: → notabug
status: newclosed

It looks like you're trying to match the innerHTML ''property'' with an ''attribute'' selector. If you are not clear on the distinction, please ask on StackOverflow or our forum.