jQuery('div#top').replaceWith('<div id="top">
</div>')
Chrome says uncaught syntaxerror unexpected token in the first line. I dont know whats the error here. I am just trying to replace the top div.
FYI -- I am replacing the whole data of div top with mine. I am placing a lot of div`s inside top which I havent pasted here.