Answers for "javascript alternance images"

0

javascript alternance images

function swap(X)
     {
     if ( X.src == "images/icone/RECORD_1.svg" )
          X.src = "images/icone/RECORD_0.svg" ;
     else
          X.src = "images/icone/RECORD_1.svg" ;
     }
  
<img src="images/icone/RECORD_1.svg" onclick="swap(this)">
Posted by: Guest on May-02-2021

Code answers related to "javascript alternance images"

Code answers related to "Javascript"

Browse Popular Code Answers by Language