To replace the inner HTML of a div using jQuery you can use the following snippet.

$("#divId").html("New Inner HTML");

8 thought on “How to replace the inner HTML of a div using jQuery”

Leave a Reply