javascript - Changing the line-height inside a div after ajax call -


i'm trying set line-height of words in div after ajax call. after added code below ajax function, function stopped working. wrong code below? thanks.

objdiv.style.line-height = '20px'; 

the correct property lineheight not line-height

objdiv.style.lineheight = '20px'; 

Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

javascript - Updating a Nested Array with MongoDB -

c# - PHP script ,MySQL -