Can I only write text input and enter, disable every click or move cursor, just autofocus in text input?
<input autofocus placeholder="RR" name="RR" id="RR" type="text">
Thank you..
CodePudding user response:
put pointer-events : none;
in the css
put cursor : not-allowed; /* or none to allow clicks*/
if you want to disable cursor.
<input autofocus placeholder="RR" name="RR" id="RR" type="text" autofocus>
CodePudding user response:
SOLVED I found this method and worked :
$(document).ready(function() {
$('body').mousedown(function(e) {
return false;
})
})