Cant set limits on increasing and decreasing numbers
I've just found this brilliant program. I'm not knowledgeable about js. CSS & html i can handle. I'm trying to create a box with + & - either side to increase or decrease the numbers fixed with a value on them for instand 1 up till 4 will be £0 then 5 - 50 will be £4.95.
Now the trouble i'm facing i've read your documentation (very nice by the way) I have managed to create the +- functions on the input field but i don't know how to add a value then calculate each individual sum plus stop it from going below 0 and above 50.
Then it displays the cost in the bottom box.
If someone could help that would be great. i've attached my basic markup to this post for you to see what i mean.
It's alot to ask but i really want to figure this out. Thank you in advance.