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

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

kernel - How to create a "Block device" in Windows -