Posts by Suzerain • 1 point
1 post
-
0
votes2
answers51
viewsA: Change image size by java script (Document.getElementById("showw"). src="img/sua_imagem.jpg"
you don’t need CSS, the object already has a property "width" <script> var img1 = document.getElementById('showw') img1.src = "img/fusca1.jpg"; img1.width = 30; img1.height = 30;…
javascriptanswered Suzerain 1