Skip to main content

Search and Top Navigation

#6206 closed bug (notabug)

Opened October 19, 2010 04:45PM UTC

Closed October 19, 2010 05:18PM UTC

Last modified October 11, 2012 09:15PM UTC

Adding id attribute to an li element in a Tab tab-section breaks the widget

Reported by: scrozier Owned by:
Priority: minor Milestone:
Component: ui.tabs Version: 1.8.5
Keywords: Cc:
Blocked by: Blocking:

Adding an id attribute somehow breaks the widget. If, as in the example below, the id attribute is added to both li items, it causes both related divs to be shown at the same time.


<div class='tab-section'>


<li><a href='#credit-card' id='credit-card'>Pay by credit card</a></li>

<li><a href='#check' id='check'>Pay by (online) check</a></li>


<div id="credit-card" style='padding:1.0em'>



<div id="check" style='padding:1.0em'>




Attachments (0)
Change History (3)

Changed October 19, 2010 04:49PM UTC by scrozier comment:1

Sorry, I meant adding the id attribute to the <a> element inside the <li> element.

However, it turns out that adding an id attribute to the <li> attribute also breaks the widget.

Changed October 19, 2010 05:18PM UTC by scottgonzalez comment:2

resolution: → invalid
status: newclosed

Duplicate ids are invalid HTML.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:3

milestone: TBD

Milestone TBD deleted