Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

change the border of an image js

<input id="imageId" type="image" src="http://goo.gl/UohAz" onclick="mark(this)"/>

function mark(el) {
    el.style.border = "1px solid blue";
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #border #image #js
ADD COMMENT
Topic
Name
2+3 =