Bug Tracker

Modify

Ticket #5454 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

bug on ":contains(text) "

Reported by: chungnn Owned by: john
Priority: major Milestone: 1.4
Component: selector Version: 1.3.2
Keywords: Cc:
Blocking: Blocked by:

Description

  1. I used code ( http://docs.jquery.com/Selectors/contains#text):

$("div:contains('John')").css("text-decoration", "underline");

  1. But all the divs are underline

Change History

comment:1 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Please reopen with a complete test case (both script and html) that demonstrates the problem. You may want to ask for help on the jQuery forums first to be sure this is really a bug.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.