dotdot demo
Type any number in the inputs below.
Attached to a single element
Attached to many elements
It works with jQuery too