$(document).ready(function(){ document.getElementById("pageviewdiv").innerHTML = ""; });