get raffle id from data-code