Images And Text From Array Into Divs With Jquery?
It returns /dev/null, why? I try to populate new divs with an image and some text.
Solution 1:
You are missing the selector quotes '' and id hash
$('div#pitch').append("<div><img src='"+el[0]+"'>"+el[1]+"</div>");
Post a Comment for "Images And Text From Array Into Divs With Jquery?"