Quick fix on a JavaScript drag and drop even handler

Job ID: 35650424

Budget: $45 – $50 USD

Need to troubleshoot an existing code that uses javascrip drag and drop events and currently is generating a POST request that allows me to print what box got switch with.

Example: if I select text number on box 2 and drag drop to box 4, it will swap and generate two POST requests from drag and drop events (From/To) capturing the value (Text/HTML) within the div.

Challange:
When using images, the div boxes swap but do not captures object id or content from event.


Objective:
I need to switch the code to target the class name 'gameIcons' and return ID value that correspond to each div.

Do not change all the code or strategy.

Need only for the event to capture on both paramA and pramB's id for the div being dragged and the id for the image being dropped off.

Additional Info:
1. Please bid if you know how to fix this issue quick. If you have to research about it, this will be time consuming and I am only paying for the code fix.

2. Please do not ask for more money that have been set for this task.
Related categories: PHP JavaScript CSS HTML5 jQuery / Prototype