jquery on click replace with html code example Example: jquery replace html $(element).html("Hello World");