I have this code:
$.each(properties, function(i, key) {
obj.css({'-webkit-border-' + key + '-radius': value+'px', '-moz-border-' + key + '-radius': value+'px', 'border-' + key + '-radius': value+'px'});
});
It's giving the error on the first + key
Can't I create keys like this (with appending data) or am I doing something else wrong?
Thanks, Wesley