I see that there is a replaces method that allows me to replace one
element with another. However, it requires the provided data to be an
element. What I have is the actually HTML (not the innerHTML however).
Is there maybe a method already that does that or would I need to
create one myself? On a site note, is there a method to convert a
String to an element meaning if I provide the HTML for the element as
a string, it would create such an element and returns it?

Reply via email to