You get a bonus - 1 coin for daily activity. Now you have 1 coin

$ (id).remove() doesn't work in JQuery

Practice



$('#id').remove() doesn't work in jquery

To sort this out, first look at the page's source htnl code,

check whether the id is specified correctly and whether it is unique

there's a chance that several elements on the page have the same id

fix that problem.

Once you remove the elements with duplicate ids, this problem should be solved

created: 2014-03-13
updated: 2026-03-10
538



Was this answer useful?
Choose a quick rating so we can improve the next answer for you.
How satisfied are you?


Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Scripting client side JavaScript, jqvery, BackBone"

Terms: Scripting client side JavaScript, jqvery, BackBone