In Java script we can replace text by another text on click of button so today we are going to discuss about how to use replacechild method in java script