jquery add contents to div code example Example: how to set the contents of a div with jquery $("#yourID").html("");