I need a function in JS to load an image on click only. I use an API and if i load a captcha image every page load after a few requests bans me because not all visitors enter captcha.
O i have http://site.tld/?captcha_image=3382894 wich if i load every time page loads i got banned for flood.
So i need something when visitor uses api let's say it appears a text with "Click here to enter captcha", then when it clicks the image is loaded.
I don't know JS at all, i appreciate any help... Thanks!