using jscolor.js on dynamic input

前端 未结 4 1447
说谎
说谎 2021-01-04 16:23

i\'m using color picker from http://jscolor.com/

i\'m trying to attach it to some dynamic inputs, but to no avail. dynamic inputs in terms of, on page load the input

4条回答
  •  情话喂你
    2021-01-04 16:48

    This helped me

    
    

    In my case, the picker control was dynamic because it is inside Knockout.js 'with' statement which hides and recreates the picker when it needs.

提交回复
热议问题