I am using pick a color for one of my form.I have used it as -
But when i am trying to fetch the value of color picker on click of submit button, then it is showing me blank or empty string.I am fetching the value as -
You can add this to the top of the code module:
$.fn.getColor = function () {
return $(this).find('input').val();
}
then call by $("#colorPicker").getColor();
Hello,
I am using pick a color for one of my form.I have used it as -
But when i am trying to fetch the value of color picker on click of submit button, then it is showing me blank or empty string.I am fetching the value as -
alert($("#colorPicker").val());