Edit in JSFiddle
Result
JavaScript
CSS
HTML
input{pointer-events: none;}
<input>