Answers for "how to change size of image js"

1

how to change size of image js

var image = document.getElementById('id');
image.style.width='imgWidth';
image.style.height='imgHeight';
Posted by: Guest on October-07-2020

Code answers related to "how to change size of image js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language