Skip to main content

Bug Tracker

Side navigation

#11374 closed bug (invalid)

Opened February 23, 2012 01:10AM UTC

Closed February 23, 2012 01:34AM UTC

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- ./?%&=]*)?$\\" 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.

Attachments (0)
Change History (1)

Changed February 23, 2012 01:34AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

The elements must be in a document to be visible.

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