Hello all.
I have a mootools accordion in the website I'm building that uses two classes: "toggler" for the titles and "element" for the content.
I'm in the need of adding an input field at the bottom of the "element" DIV that the user has opened.
Problem is, every content of every different toggle has the same id="element".
The only difference is that the one opened has the visibility set to "visible".
Is there a way so I can write in that visible DIV from Javascript?