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 -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -