Moti Mashiah
asked on
Javasctipt
Hi guys,
I'm scratching my head here as I can't display image through javascript to html
Here is my example:
I have this javascript that should bring back the image from facebook but it gives just the alt: hello instead.
I did it million times and know its not working :). do I have some issue with this simple code.?
thanks ,
I'm scratching my head here as I can't display image through javascript to html
Here is my example:
I have this javascript that should bring back the image from facebook but it gives just the alt: hello instead.
$("#picreturn").html('<img src"https://chart.googleapis.com/chart?cht=qr&chs=200x200&chl=http%3a%2f%2fwww.facebook.com" alt="hello"/>')
Here is my tag html when I suppose to put my image:<div id="picreturn" class="col-md-12 col-sm-12">
</div>
I did it million times and know its not working :). do I have some issue with this simple code.?
thanks ,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER