How can you add 25 when you check that box and subtract 25 when you uncheck it on the number that is inside the span id=”preciototal” ?
Take a look here please.
Its part of a checkout form and the idea is it calculates the total price:
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As an alternative answer which demonstrates a few more advanced jQuery concepts to you, consider the following javascript:
Does that make sense? See here for a working jsFiddle example.