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

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -