۰ مهدی بهور
concatenate px to variable
جامعه جاوا اسکریپت ایجاد شده در ۰۱ بهمن ۱۴۰۰

we should concatenate px to the variable by following syntax;

' spanlist[0].style.transform='translateY(' + yoffset + 'px)