Open PeterTough2 opened 6 years ago
I want to update the data-default-file value and have a different image displayed
I tried this
var nameImage = img; $('#edit_profilephoto').dropify({ defaultFile: nameImage, });
And this $('#edit_profilephoto').attr('data-default-file', img);
$('#edit_profilephoto').attr('data-default-file', img);
Is there a special event call or function to trigger the change
I want to update the data-default-file value and have a different image displayed
I tried this
And this
$('#edit_profilephoto').attr('data-default-file', img);
Is there a special event call or function to trigger the change