parent.jsp has a dropdown of food items
and also a button(on click opens child.jsp as a popup)
Open a popup
User reviews the item
Clicks on Confirm Remove button
Pop up closes and dynamically without a page refresh, the item should get removed from the dropdown in parent.jsp
How can this be achieved? How can I send a flag/something form the child.jsp to parent.jsp to actually remove the element.
User may just say Remove on parent.jsp and say Cancel on the popup, in which case the item should not be removed.
Are these different ways of linking parent and child pages/popups?