Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

change onclick attribute javascript

document.getElementById('buttonLED'+id).setAttribute('onclick','writeLED(1,1)')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #onclick #attribute #javascript
ADD COMMENT
Topic
Name
8+2 =