I have a checkbox
<input name="mycheck" type="checkbox" value="1" id="mycheck" />
I want to call a hideinfo function (if it is not selected) or showinfo function (if checkbox value is selected). I need to call a function, not show a div as I am using this with canvas.
So it should be if checkbox is selected (has 1) then run showinfo()
if checkbox is not selected then run hideinfo()