Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript using jquery to remove hyperlinks from html Re: using jquery to remove hyperlinks from html

#73665
diablero13
Member

Try both:

Code:
$(‘#mydiv a’).each(function(){
$(this).replaceWith($(this).text());
});