Skip to main content

Bug Tracker

Side navigation

#9713 closed bug (invalid)

Opened June 30, 2011 08:14PM UTC

Closed July 11, 2011 11:39AM UTC

A tag with blank href causes parent accordion to open by default.

Reported by: djptwc@rit.edu Owned by:
Priority: low Milestone: 1.next
Component: misc Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:
Description

If you have the following accordion setup:

<div id="accordion">

<h3>Accordion 1</h3>

<div>Content</div>

<h3>Accordion 2</h3>

<div><a href="">Content</a></div>

</div>

Accordion 2 will open by default. I have tested this in Chrome 12 on OsX 10.6, an IE8 on Windows 7, and it is only present in Chrome.

Attachments (0)
Change History (2)

Changed June 30, 2011 08:20PM UTC by djptwc@rit.edu comment:1

See it in action: http://184.82.43.12/jquery_accordion_bug.html

Note that the parameters being passed to accordion() do affect if this bug appears or not.

Changed July 11, 2011 11:39AM UTC by addyosmani comment:2

component: unfiledmisc
priority: undecidedlow
resolution: → invalid
status: newclosed

Thanks for submitting a ticket to the jQuery project!. Unfortunately we are unable to assist with tickets related to jQuery UI as this is the jQuery core tracker. For assistance, please resubmit your ticket to the jQuery UI tracker where a member of the UI team will be able to assist further.