DIGIT-ARC read-only archive · snapshot: July 23, 2026

javascript: search and remove elements on the fly

1 post · originally from https://geek.digit.in/community/threads/javascript-search-and-remove-elements-on-the-fly.138856/

Sridhar_Rao
Sridhar_Rao Original post #1
Apr 4, 2011 at 12:26 PM
There are three identical lists with identical items in same order in a html page. When an element is selected from any of the three lists, the script should search for the occurrence of the same element in other two lists and remove them on the fly from all the three lists.

Any help will be appreciated!