I'm trying to create a template that generate unique id to link an anchor to a div.
Something like
The UNIQUEID would be the same, but it would be generated so that if I use the same template a second time in the same page the new different.
Something like php's uniqid()
Thank you
Something like
html:'\ <a href="my_anchor[UNIQUEID]">Hello</a>\ <div class="my_div[UNIQUEID]">My div content</div>';
The UNIQUEID would be the same, but it would be generated so that if I use the same template a second time in the same page the new different.
Something like php's uniqid()
Thank you