Remove tag using JQuery
We can remove HTML tag using jquery by different scenarios.
1. $('a').contents().unwrap();
This will remove the anchor tag but keep the anchor inner HTML.
2. Come to performance view below code is useful.
var b = document.getElementsByTagName('a');
while(b.length)...
Home
»
Archives for
July 2013