jqueryui.com icon indicating copy to clipboard operation
jqueryui.com copied to clipboard

ID vs. Class in Accordeon API-Doc

Open bbmxxc opened this issue 6 years ago • 0 comments

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
});

bbmxxc avatar Mar 08 '19 13:03 bbmxxc