<div class="dashed_1"> <input onchange="readURL(this)" class="cool_inp" id="img" type="file" accept=".jpg, .jpeg, .png"> <label class="pseudolabel" for="img"><b>+ Загрузить</b></label> <p>Или перетяните картинку сюда</p> </div> there is for example a code, it is necessary that within the block of the dashed_1 class, if you drag an image onto it, so that it loads as via a button .. How can I implement it? How to track such an event?