html5 - How can disable open color palet when i click on <input type="color">? -
i have input:
<input type="color">
and when click on automaticaly open windows color palet, how can disabled this? example:
<input type="color" colorpallet="disable"> ?
try this
<input type="color" disabled></input>
or
document.getelementbyid("mycolor").disabled = true;
these way disable inputs in html. if looking bootstrap color picker <input type="color">
here fiddle.
Comments
Post a Comment