Click here to Skip to main content
15,746,813 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
So I have two divisions. Available cars and reserved cars. When I click on an available car it should be hidden and show in the reserved car div. But when I click on a car among the reserved cars the program thinks that I would append it to the reserved section. The alert helps to understand.

How could we solve this?

The reserved cars will hide on click too and append to back to available cars.

What I have tried:
Updated 5-Aug-22 4:07am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900