|
|
Using JavaScript to refresh and reload an iframe on main page - Javascript
|
Views : 437
|
|
Tagged in : Javascript
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
<iframe name="security-code" id="security-code" src="/gen-captcha-image.php"></iframe>
refreshCaptcha() looks like this:
<script type="text/javascript">
function refreshCaptcha () {
var code = document.getElementById('security-code');
code.src = code.src; // that is the essence here
}
</script>
|
|
By kalai, On - 2010-02-01 |
|
|
|