What is .srcin the JavaScript code below?
.src
function jsDropDown(imgid,folder,newimg) { document.getElementById(imgid).src="http://www.cookwithbetty.com/" + folder + "/" + newimg + ".gif"; }
This is the srcDOM Property of the element <img>it is dealing with.
src
<img>
It displays the src attribute of the img element. (Although this is a DOM , not JS)
src <img> javascript URL-
src - , .
Source: https://habr.com/ru/post/1782266/More articles:IE Com Object, The difference between .Navigate and .Navigate2 methods - objectHow to compile / create ruby extension that uses c? - cHow to create an MDI form in WPF - wpfВключение файла ведет себя по-разному с помощью RC.EXE или BRCC32.EXE для создания файлов *.rc - rcКопирование элементов списка с помощью AutoMapper - automapperState Administration in Adventure Games - stateУчебник по истории HTML5 - javascriptHow to speed up jpeg compression - c ++How to determine end of page in pdf using itextsharp - c #Fatal error detected in Java Runtime Environment: SIGSEGV (0xb) - javaAll Articles