1
In the XOOPS captcha the id xoopscaptcha is given to two elements in the page: the image and the input.
le="color: #000000"><?php <script type="text/javascript"> function xoops_captcha_refresh(imgId) { xoopsGetElementById(imgId).src = 'http://site.com/class/captcha/image/scripts/image.php?refresh='+Math.random(); } </script> <img id="xoopscaptcha" src="http://site.com/class/captcha/image/scripts/image.php?refresh=0.4971660853506287" onclick="this.src='http://site.com/class/captcha/image/scripts/image.php?refresh='+Math.random()" style="cursor: pointer; vertical-align: middle;" alt=""> <br> <a href="javascript: xoops_captcha_refresh('xoopscaptcha')"> Cliquez ici pour rafraîchir l'image si elle n'est pas suffisamment claire. </a> <br><br> <input name="xoopscaptcha" id="xoopscaptcha" size="4" maxlength="4" value="" type="text"> <br> Entrez les lettres de l'image<br>Le code est insensible à la casse<br>Maximum de tentatives, vous pouvez essayer : 10