Answer the question
In order to leave comments, you need to log in
How to get data and change color?
Can't get data and display the color being selected. Here is the code
<input type="text" id="colorTextKons" name="colorTextKons" class="jscolor">
$("#colorTextKons").on("input", function(){
var color = $(this).val();
ctx.fillStyle = "#"+ color;
});
Answer the question
In order to leave comments, you need to log in
you also need to redraw those parts for which you change the color,
changing the context styles only affects further rendering
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question