Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#14897 closed bug (notabug)

Problem using <script> as a first child after first div with id="acordion"

Reported by: MeMofoGit Owned by:
Priority: minor Milestone: none
Component: ui.accordion Version: 1.11.3
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by Ryan J Ollos)

Hi i have a problem using accordion. It seems like accordion applies the properties to the first child of the first div with the id of accordion, in this case im using <script> as a first child and it doesnt work. it would be nice if the ui could check this kind of tags for use the next tag in this cases. I know i could put a document.write("div id='acordeon'"); and make it work but it would be nice if you could check this :)

sorry my english :(

<div id="acordeon">
                <script>
            for(i=1; i<aProvincias.length; i++) {
              document.write('<h3>'+array[i]+'</h3>');
              document.write('<div>');
              document.write('<p><img src="Escudos/'+i+'.jpg"></p>');
              document.write('</div>');
            }
          </script>
</div>

Change History (2)

comment:1 Changed 7 years ago by Scott González

Resolution: notabug
Status: newclosed

Please see the documentation for the header option.

comment:2 Changed 7 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.