Good evening, guys! basically what I'm trying to do is to drag a div (#mainmsg) into another div (#msgprivhere), but I need to resize it when I drop it. I just wonder if this is possible. I'm starting in the area of web development, and I'm very lay. Thank you very much in advance! I have no preference for language. If there is a possibility, I would like to try. Thanks to whoever can answer!
<div id="scroll" >
<div id="hidden">
<div class="rcvmsg" id="mainchat">
<div class="mainmsg">
<span class="nickname"> Oliver Motokh </span>
<span style="float:right"> 12:34 pm </span>
<span> heeooooyuuuo</span>
</div>
</div>
</div>
<div id="msgprivhere">
<div class="privmss">
<div id="rcvprivuser">
<div id="privuser">
<span class="nicknamepriv">Oliver Motokh </span>
<span style="float:right"> 12:34 pm </span>
<span> heeeeyyyyyyooooooooooooy</span>
</div>
</div>
</div>
</div>
</div>