I have this line of code:
var bgposh = "-37";
$(element).find('.toggle_box').css({'-webkit-transition': 'background-position 0.2s linear', 'background-position': '147px "+ bgposh +"px'});
but the background position does not get set. I think it is because there is no space between px and bgposh. How can I add one? I tried + + but that does not seem to work.
Thanks a lot :)