This is an additional problem to my previous question.
I have a perfect code (DEMO) which works as expected. But this works fine in Chrome and firefox but not in Internet Explorer. That is bcause IE doesn't support disply: none/block
for option tags.
To explain the flow of the functionality,
- Main Tag and Sub Tag are 2 different section which has the same list values
- same item should not be present in the both section. When User select
Item 1
fromMain tag
, same item should be removed from theSub Tag
list. Sub Tag
has a section calledSelected sub Tags
, where in selected sub tags will be shown as tags. When we delete these selected tags, it should display back inSub Tag
list- If user select different item (example:
Item 2
) inMain tag
list, it should toggle theremove/add
inSub Tag
list. Means, remove the currently selected item (Item 2
) and add back the previously removed item (Item 1
) toSub Tag
. If the Item 2 is already selected in Selected Sub Tags list, it should get removed fromSelected Sub Tags
list as well
All I need is to get the given code work in Internet Explorer.
Or is there any way to get the same funtionality with ul li
instead of list item ?