Tracking Dropped Objects using JQuery Library
===

I am wondering what the best practice would be for the following project.
I am going to use JQuery to make a drag-and-drop quiz feature. At the end of the quiz, when the submit button is pressed, I want to total the number of correct boxes dropped over correct answers. This means that not all boxes will have been dropped.

I was considering using Javascript classes to instantiate objects (boxes, in this case) and count up through all the objects that had a "droppedTrue" value set to true, for example. Or I guess I could somehow set a property in the javascript of each of the boxes (probably divs) so when the submit button was pressed it would go through all the boxes with a certain marker?

I guess my question boils down to how do I set some type of marker for the divs that have actually been dropped on the correct boxes?