Let’s say you have a div with id “myDiv”
<div id="myDiv">
<input type="text" value="value" />
<br />
<textarea>value</textarea>
</div>
If you want to disable all the mouse actions in that div only then you can use this in your CSS file:
#myDiv {
pointer-events: none;
}
