📜  javascript 交替图像 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:15.041000             🧑  作者: Mango

代码示例1
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" ;
     }