Bug Tracker

Opened 10 years ago

Closed 10 years ago

#12703 closed bug (notabug)

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:


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.

Change History (1)

comment:1 Changed 10 years ago by gibson042

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.

Note: See TracTickets for help on using tickets.