I'm tryng to do
$('input').change(function() {
$('a').removeAttr('href');
});
And this works like you would think it would, except that it still leaves an empty a tag. I'd like to unwrap the a tag all together. I tried:
$('input').change(function() {
$('a').unwrap();
});
But I think that removed the parent element, not the anchor tag itself.