![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fdkv8JN%2Fbtsa6Dm0HRF%2FS4CICau4WDyPVBjlPSYVsk%2Fimg.png)
Web Programming ๐/Front-End ๐ฆธ๐ปโ๏ธ
Javascript DOM "radio checked"
I used the radio check to change the image. Here is my html file. The is the webpage has a boy image. I want to change the image of eye, mouth and nose. As we can see, the image should be changed when I check another radio. I put the "onclick=" to call the javascript function. Each function has two var. "var ~Radio" is for array to get Node from html file. "var ~Image" includes the node from in ..