Is there any way to achieve a += operator within the css operator (assuming ui.value in the example has a numerical value)
Something like this(which doesn’t work):
$("#resume_holder").contents().find('body').children().css('font-size', +=ui.value);
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.
Try:
(if you’re using jQuery >= 1.6)
according to the docs for css:
Example: http://jsfiddle.net/JMRPf/ (trivial I know, but proof that it works)