Possible Duplicate:
Reload an iframe with jQuery
How can I cause an <iframe> to reload on a click event?
I tried this, but it is not working:
jQuery("#link").click(function(){
   jQuery('#iframeID')[0].reload();
})
Possible Duplicate:
Reload an iframe with jQuery
How can I cause an <iframe> to reload on a click event?
I tried this, but it is not working:
jQuery("#link").click(function(){
   jQuery('#iframeID')[0].reload();
})
 
    
     
    
    like this
document.getElementById('iframeID').contentWindow.location.reload();
or via
document.getElementById('iframeID').src = document.getElementById('iframeID').src;
 
    
        $("#reload").click(function() {
        jQuery.each($("iframe"), function() {
            $(this).attr({
                src: $(this).attr("src")
            });
        });
        return false;
    });
This above code will reload every iframe in your page, every time the link with id=reload is clicked
Thanks to @Haim Evgi
Or you can do the same also like this
$('iframe').each(function() {
  this.contentWindow.location.reload(true);
});
 
    
    You can do something like this:
$("#iframe").attr('src', ($('#iframe').attr('src'));
 
    
    var iframe = document.getElementById('ID');
iframe.src = iframe.src;
 
    
    