Is there a way in javascript/jQuery to take two variables with values \"60px\" and \"40px\" and add them together to get \"100px\"?
Or in a more general sense, I\'m tryi
remove px from strings, add values, then add px back
(parseInt("40px".replace(/px/,""))+60)+"px"