![]() |
how to add unique classes to a div
basically my end goal is to hide a voucher code then reveal when clicked and open the url in a new window,
my first problem is the way the site is coded, i can't use a single jquery function because all of the instances will have the same ID/Class, so the action will cause all of the divs to reveal no matter which one is clicked. so i need to give each div id a unique class, here is my code: Code:
<script>Code:
<div id="revealVoucher" > |
| All times are GMT +1. The time now is 10:25 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.