I have Collapsible Panel need to increases it's id every time in my loop
Posted
by
Yousef Altaf
on Stack Overflow
See other posts from Stack Overflow
or by Yousef Altaf
Published on 2012-03-23T17:04:46Z
Indexed on
2012/03/23
17:29 UTC
Read the original article
Hit count: 478
php
|JavaScript
I have Collapsible Panel and this is the header of it,
<div id="CollapsiblePanel1" class="CollapsiblePanel">
<div class="CollapsiblePanelTab" tabindex="0">Comments</div>
<div class="CollapsiblePanelContent">
Content </div><div>
now I get the content from my DB and every time I get more content I go in new CollapsiblePanel all I need to know how to increases the id="CollapsiblePanel1" to be id="CollapsiblePanel2" and id="CollapsiblePanel3" and ect.
© Stack Overflow or respective owner