+ 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.

5th Dec 2019, 6:21 PM
Dominik Vladaƙ
Dominik Vladaƙ - avatar
1 Réponse
5th Dec 2019, 6:40 PM
Sarthak
Sarthak - avatar