First of all greetings to all and to say that I am very new, any correction is welcome, both the question I am asking and the use of this website ...
I was trying to get the method onsubmit()
of the library "CanvasInput"
of HTML to return the value I write in the form ...
The value that returns to me is the following:
function
Javascript Code:
var input = new CanvasInput({
canvas: document.getElementById('canvas'),
value: '',
onsubmit: function() {alert(this.value);},
});