edit innerhtml jquery code example
Example: jquery replace innerhtml
$("#myID").html("<div>New inner html</div>"); //replace element innerHTML in jQuery
$("#myID").html("<div>New inner html</div>"); //replace element innerHTML in jQuery