1function swap(X)
2 {
3 if ( X.src == "images/icone/RECORD_1.svg" )
4 X.src = "images/icone/RECORD_0.svg" ;
5 else
6 X.src = "images/icone/RECORD_1.svg" ;
7 }
8
9<img src="images/icone/RECORD_1.svg" onclick="swap(this)">
10