Animation slider calcaulate pricing

Iam trying to design slider with draging from 1 till 15 with changing number in pricing plan but i could not find any tutorial about it i need to know how to design the slider and number on box just the beging and after that how to move it and connect it with the pricing number.
please help