how would I change the javascript code so that you do not have to click on the “Load New code” to refesh the image
what I am doing is if code does not match then you get a back button.
<center>
<form>
<input type=button value=”<< Go Back ” onClick=”history.go(-1)”></form>
</font></center>
[code]
<script language=”javaScript”>
function reloadCAPTCHA() {
document.getElementById(‘CAPTCHA’).src=’captcha.cgi?randomnumber?’+Date();
}
</script>
<a href=”javascript:reloadCAPTCHA();”>Load New Code</a>
my main code is wrote in perl and the CAPTCHA comes from [url]http://www.bumblebeeware.com/captcha/
I do not want to reload the whole page just the CAPTCHA, hope this makes sence..