How to refresh captcha image on page refresh/load?
问题 I want to force my site to refresh the captcha image everytime it loads, so I have a javascript method triggered with the onload() event. Here I have the following line: document.getElementById('yw0_button').click; Firebug doesn't detect any errors, and for testing purposes I have added an alert right after the displayed line, and the alert pops up each time the page is loaded. However, the image doesn't refresh! This is what I believe is relevant about the view file: <?php if(extension