Non mi funziona, cioè, non ricarica l'immagine e non da errore.
Nel file esterno.js
Nel formCodice PHP:function reloadCaptcha() {
document.getElementById("cap").src = "Captcha/captcha-image.php?123";
}
Codice PHP:<img style="width: 70px; height: 30px;" id="cap" src="Captcha/captcha-image.php">
<img style="width: 30px; height: 30px; cursor:pointer" src="immagini/refresh.png" onclick="reloadCaptcha();">

