Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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)">
Comment

PREVIOUS NEXT
Code Example
Javascript :: initialization failed for block pool registering (datanode uuid unassigned) service to exiting 
Javascript :: Ambobulamblation 
Javascript :: DecoupledEditor.create 
Javascript :: {backgroundimage: `url("${require(`../../assets/images/${post.image}`)}")`}; 
Javascript :: hj hjkl jkl 
Javascript :: how to change function name while exporting in node 
Javascript :: how to make a podcast subscribe button in javascript 
Javascript :: media query for mobile in react file 
Javascript :: convert rgb value in hexadecimal system 
Javascript :: creating a read stream from a large text file 
Javascript :: Minimize DOM access - JavaScript 
Javascript :: jquery to animate a flash to the button selected 
Javascript :: relation entre la faune et la flore 
Javascript :: symbols with object.assign 
Javascript :: how to make a login form discord.js part 1 
Javascript :: rails json exclude nested attribute 
Javascript :: create an all day event by drag and drop 
Javascript :: 5.1.2. Boolean Conversion¶ 
Javascript :: handlebars.registerHelper is not a function 
Javascript :: fecha javascript mes de 2 digitos 
Javascript :: runincontext execute function 
Javascript :: https://www.npmjs.com/package/number-in-letters 
Javascript :: custom http vue 2 
Javascript :: redefineFunction 
Javascript :: javascript formdata include object 
Javascript :: javascript options documentation 
Javascript :: select text with vim vscode 
Javascript :: how to generate an onclose jest 
Javascript :: iife syntax 
Javascript :: How to make Jquery Class clickable 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =