Set Cookie Accept button to stay on current page?
I know this is probably easier than i think it is. I have a cookie accept button that pops up when new visitors reach my site. However when the 'Accept' button is clicked it links the customer back to the homepage but i would like to keep the customer on the page.
I guess i just need to know what to replace the <a href="what goes here?"> part.
Any advice much appreciated.
<a href="your.domain" class="cookiebuttons" onClick="SetCookie('eucookie','eucookie','time()+31556926')"><strong style="color:#FF9900">Allow Cookies</strong></a>