I have the following 2 lines of code:
var minusID = settingID + '-minus';
$('#' + minusID).removeClass("selected");
How can I efficiently combine this into one line?
Thanks
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.
Can’t think of anything much better than that, but you shouldn’t worry about that, lines-of-code isn’t really a concern any more…