#8690 closed bug (notabug)
Accordion uses <script> tag as data section
Reported by: | Vikas | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.10.0 |
Component: | ui.accordion | Version: | 1.9.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Accordion uses <script> tag as data section. For example,
<div class="accordion"> <h3>Header</div> <div>Data</div> <script> //Some javascript stuff </script> <h3>Header2</h3> <div>Data2</div> </div>
Change History (3)
comment:1 follow-up: 2 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
Replying to scott.gonzalez:
Use the header option.
Ok, if I set header, but script is between h3 section and data section: http://jsfiddle.net/7KZPS/13/
<div class="accordion"> <h3>Header2</h3> <script> //Some javascript stuff </script> <div>Data2</div> </div>
Ok, nevermind. Not a big problem... BTW, in the 1.8.24 I didn't had this issue.
Note: See
TracTickets for help on using
tickets.
Use the header option.