make a select input disable using javascript code example
Example: disable text selection in js
onselectstart = (e) => {
e.preventDefault()
console.log("nope!")
}
onselectstart = (e) => {
e.preventDefault()
console.log("nope!")
}