Updating DIV HTML

Updating DIV HTML

I am trying to update the HTML of a div using .html.  The var that I am overwriting the text with, has these characters: /, ", =, ..  When I attempt to set the html of the div with this var content, it does not update.  Is there a way to update the div with this content in the var?