jquery / jqueryui.com

jQuery UI web site content
https://jqueryui.com
Other
132 stars 114 forks source link

ID vs. Class in Accordeon API-Doc #178

Open bbmxxc opened 5 years ago

bbmxxc commented 5 years ago

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