Java script ile html etiketlerine erişme ve bu değerler üzerinde nasıl değişim yapıldığına ait basit bir lamba açıp kapama örneği. <button onclick=”document.getElementById(‘myImage’).src=’http://www.bilgisayardersi.net/wp-content/uploads/2018/06/lamba-acik.gif'”>Turn on the light</button> <img id=”myImage” src=”http://www.bilgisayardersi.net/wp-content/uploads/2018/06/lamba-acik.gif” style=”width:100px”> <button onclick=”document.getElementById(‘myImage’).src=’http://www.bilgisayardersi.net/wp-content/uploads/2018/06/lamba-acik.gif'”>Turn off the light</..

Read more