I have it working with java script and html but when i use laravel forms it wont work
java script
document.getElementById('user-image').setAttribute('value', res.path);
html:
<input id="user-image" value="">
with laravel form then i cant seem to get it to change the value
{!! Form::hidden('user-image', '', array('id' => 'user-image')) !!}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire