javascript - Simple String and variable problem using jQuery -
I am trying to add my string to this string:
var liPad = 20; $ (This). CSS ({'width': width, 'height': height, 'padding': "'0 pixel' + lipad + 'px'"});
To work this way:
$ (this) .css ({'width': width, 'height': height, Padding ':' 0 20px '});
"post-text" itemprop = "Text"> This should work:
$ (this) .css ({'width': width, 'height': height, 'padding': '0' + Lipad + 'px'});
Comments
Post a Comment