Bug Tracker

Opened 5 years ago

Closed 5 years ago

#11374 closed bug (invalid)

Maybe jQuery v1.7.1 's a bug.

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description

alert($("<LI class=err_tx><SPAN style=\"DISPLAY: inline\" id=rfvUrl controltovalidate=\"txtOkUrl\" focusOnError=\"t\" errormessage=\"●1234<br/>\" display=\"Dynamic\" validationGroup=\"ValidationProduct\" initialvalue isvalid=\"false\">1234<BR></SPAN><SPAN style=\"DISPLAY: none\" id=revUrl controltovalidate=\"txtOkUrl\" errormessage=\"●1234\" display=\"Dynamic\" validationGroup=\"ValidationProduct\" validationexpression=\"http(s)?:([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?$\" isvalid=\"true\">●1234</SPAN></LI>").find('span:visible').length);

please test this code. if i include jquery-1.2.6.pack.js ,browser will alert "1",but i include jQuery v1.7.1 ,browser alert me "0". maybe in lastest version,the bug is not exsits. end.

Change History (1)

comment:1 Changed 5 years ago by dmethvin

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

The elements must be in a document to be visible.

http://jsfiddle.net/RxTjd/1/

Note: See TracTickets for help on using tickets.