JScolor style input text field -


i using jcolor pick color in text field. before used jscolor had class='....' style input text field. use jscolor had change in class='color', original styling gone now. how can correct this?

an element can have multiple classes if delimit them spaces. let's <input> of class myclass, , want make of class color use jscolor. this, write class = "myclass color" when creating <input> element.

here example page made has <input> custom styling configurable jscolor:

<html> <head> <script src = "jscolor/jscolor.js"></script> <style> /* custom css */ .myclass {     width: 100%;     cursor:wait; } </style> </head>  <body> <!-- uses jscolor , above css styling "myclass" --> <input class = "myclass color" value = "#ff0000"> </body> </html> 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -