Jar filling up...

Jar filling up...

I need a javascript functionality where when a jar fills as the user adds items to it. An example will be like a user is budgeting for the month and each time she adds say £100 , the jar fills up. Is there anything out there I can use. Long shot .. Thanks a great deal