Change style of image on load


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <img onload="alert(this);this.style.setProperty('border','none')" src='http://localhost/~yisraeldov/cake/index.php/image/thumb/2134' class='one' >

URL: http://www.w3schools.com/css/tryit.asp?filename=trycss_border-width

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.