ew</span> hx.Tabs(<span class="hljs-string">'#tabs-script'</span>);

tabs.on(<span class="hljs-string">'change'</span>, <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">data</span>)</span>{
  hx.select(<span class="hljs-string">'#tabs-script'</span>)
    .select(<span class="hljs-string">'.hx-tabs-content'</span>)
      .text(<span class="hljs-string">'Tab '</span> + (data.id+<span class="hljs-number">1</span>) + <span class="hljs-string">' selected'</span>)
}