I am try to send image with src tag in ajax . But facing chlange with setup img Attribute in ajax . Here is my script . Please help me to set this line of script in src tag.
<script type="text/javascript">
$('#image-data').html(""+arr[2]);
</script>
I am trying to achive this line of code but faciing chalange .Please help me to correct this. Thanks
$('#image-data').html('<img src=""+arr[2]>');
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3k4V5LG
via IFTTT
Aucun commentaire:
Enregistrer un commentaire