+ 9
JS function called when image is selected
Hi, Please help me: I need function, that is called when the image is selected. I´ve tryed this: //CSS #image::selection{ width: 100px; //changed } //JavaScript document.getElementById("image").onresize = function(){/*stg*/} ...but it doesn´t work.
1 Resposta
+ 2
Try checking out this one
https://stackoverflow.com/questions/3545018/selected-text-event-trigger-in-javascript