I would like to know how I can only refresh a specific element in my website, instead of the whole web page? The element I\'m talking about is a flash application that loads
Try this:
function reload(){
var container = document.getElementById("yourDiv");
var content = container.innerHTML;
container.innerHTML= content;
//this line is to watch the result in console , you can remove it later
console.log("Refreshed");
}
Click to Reload
The content that you want to refresh/reload
Hope it works. Let me know