Bug Tracker

Modify

Ticket #11374 (closed bug: invalid)

Opened 2 years ago

Last modified 2 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 2 years ago by dmethvin

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

The elements must be in a document to be visible.

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

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.