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