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