SyntaxFix
Write A Post
Hire A Developer
Questions
Simply $("#3").remove(); would be enough. But 3 isn't a good id (I think it's even illegal, as it starts with a digit).
$("#3").remove();
3