"use jquery to change an html tag?" Code Answer

1

once a dom element is created, the tag is immutable, i believe. you'd have to do something like this:

$(this).replacewith($('<h5>' + this.innerhtml + '</h5>'));
By DrexiL on June 13 2022
Only authorized users can answer the Search term. Please sign in first, or register a free account.