Skip to content

ID vs. Class in Accordeon API-Doc #178

Open
@bbmxxc

Description

@bbmxxc

On http://api.jqueryui.com/accordion/
the Example states

<div id="accordion">
  <h3>First header</h3>
  <div>First content panel</div>
  <h3>Second header</h3>
  <div>Second content panel</div>
</div>

But the node #accordion is always referenced as ".accordion" in later steps.
For example:

$( ".selector" ).accordion({
  active: 2
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions