consider this string:
the quick <input type="button" disabled="" value="brown.fox" /> jumps over the <input type="button" disabled="" value="lazy.dog" />
I would like to replace every occurrence of the <input type="button"
tag with a string that contains the value attribute of the tag, specifically with this string ${}
So the end result should be
the quick ${brown.fox} jumps over the ${lazy.dog}
Via Active questions tagged javascript - Stack Overflow https://ift.tt/2FdjaAW
Comments
Post a Comment