Copy link to clipboard
Copied
HTML5 canvas
I have a movie clip
var img = container.document.getElementById("img").getElementsByClassName("text_input_css");
container.style.width = newWidth;
container.style.height = newHeight;
use
document.getElementById("img");
if you have an element with id = img
the css is irrelevant.
and use
document.getElementsByClassName("text_input_css);
if you have elements from that class in your html
Copy link to clipboard
Copied
use
document.getElementById("img");
if you have an element with id = img
the css is irrelevant.
and use
document.getElementsByClassName("text_input_css);
if you have elements from that class in your html