Skip to main content

Bug Tracker

Side navigation

#4186 closed bug (worksforme)

Opened February 18, 2009 09:58PM UTC

Closed November 18, 2010 04:18AM UTC

Last modified March 09, 2012 08:41AM UTC

jQuery(element).next(element) do not work in safari

Reported by: nexcax Owned by: john
Priority: low Milestone:
Component: selector Version: 1.3.1
Keywords: Cc: nex.cax@gmail.com
Blocked by: Blocking:
Description

Hi please if you can resolve this problem in jquery since 1.1.3.1 to 1.2.6 .next() function work ex.

I try to do it

jQuery("ul#menu > li > a").hover(function(){

jQuery(this).next("ul").show();

}, function(){

jQuery(this).next("ul").hide();

});

and work with versions since 1.1.3.1, but when i update at 1.3.1 in browser work good but in safari show me a problem, only select in first item and not in other ones.

I have this HTML

<ul id="menu">

<li><a href="javascript:void(0)">Inicio</a>

<ul>

<li><a href="javascript:void(0)">prueba3</a></li>

<li><a href="javascript:void(0)">prueba4</a></li>

</ul>

</li>

<li><a href="javascript:void(0)">Dos</a>

<ul>

<li><a href="javascript:void(0)">prueba1</a></li>

<li><a href="javascript:void(0)">prueba2</a></li>

</ul>

</li>

<li><a href="javascript:void(0)">tercer menu</a></li>

</ul>

Thanks.

Attachments (0)
Change History (2)

Changed November 18, 2010 04:18AM UTC by dmethvin comment:1

milestone: 1.3.2
priority: criticallow
resolution: → worksforme
status: newclosed

http://jsfiddle.net/dmethvin/YjfWu/

Seems to work as far as I can tell but the example is a bit convoluted.

Changed March 09, 2012 08:41AM UTC by zhouyang1012 comment:2

<!DOCTYPE HTML PUBLIC "-W3CDTD HTML 4.0 Transitional//EN">

<HTML><HEAD>

<META content="text/html; charset=gb2312" http-equiv=Content-Type>

<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>

<BODY>

<P>Casio and Citizen really are a globally recognized watch brand from Japan.

They sell watches all around the world and have a really big online catalogue.

Individuals love and appreciate these brand names for being permanently on the

best rated of the watch production. Japanese watch makers continue to be loyal

to such essential points within the watch manufacturing, as high-quality,

variety of style. <a href="http://www.edificesale.com/ef558d1av-p-55.html" title="casio ef 558"><strong>casio ef 558</strong></a>

The variety of collections could confuse even the most skilled

purchaser, yet their technological functions will surprise any choosy and

particular customer.</P>

<P>Casio is well-known for its G-Shock line. This line is particularly popular

amongst people who appreciate activity, adventures, travelling who find some

pleasure within the different problems of life. Men from the armed forces find

them simply the best <a href="http://www.edificesale.com/ef558d1av-p-55.html" title="casio ef 558"><strong>casio ef 558</strong></a>

within this place that depart no opportunity to

competition. Due to their unique functions they’ll go along with you through all

severe climate circumstances.</P>

<P>Imagine it in your wrest whenever you will determine to climb some peaks or

discover a brand new depth of the ocean. The G-Shock Watches are accurate in 29

globe time zones. There virtue will be the photo voltaic panel. These watches

are Eco-friendly and are tough.<a href="http://www.edificesale.com/casio-c-1.html" title="casio watches"><strong>casio watches</strong></a>

Moreover, these timepieces are outfitted with a

datebook and a number of different alarms along with a stopwatch. G-Shock

watches are tough. They will serve you for years and never break. You will by no

means regret purchasing one and you will never want to change 1 with any other

timepiece on the market. </P></BODY></HTML>