JavaScript: how to change CSS style of created span?

This post was originally published on this site

var parent = document.getElementById(“parentObject”); parent.appendChild(span); This method “setAttribute()” lets you to add other non-standard attributes used by animations and custom jquery options to your HTML standard tags.

Stay up to date
Register now to get updates on promotions and coupons.

Shopping cart