Glen, This is cool. I like it :)
My first thought is to have your drop handler move the draggable element to a child container of the droppable, below the text. Then you just count the elements in that container, and it gets removed if it goes to another one, or back to the center/nowhere. The other bonus to this approach is it won't obscure the text of the droppable. Send an update if you make any changes. This is a great demo. - Richard On Dec 14, 2007 2:17 PM, Glen Lipka <[EMAIL PROTECTED]> wrote: > I am making something for fun here: > http://www.commadot.com/jquery/magicTriangle.php > > My question is: How would I go about keeping count of how many coins are > on each metric? So if I remove one, it subtracts. > > Thanks for any advice/help. > > Glen