How can I set the value of this?
Define in html:
In JS:
ajax.jsonRpc("/consulta/dni", 'call', {'document_number': document_number}) .then(function (data) { if (data.error){ ...; } else { $('#image').val(data.image); } })
After:
Submit