I am trying to concatenate my div to images within it using jquery variable. Not sure how to do this. Thanks for any helps.
var pictureDiv = $('#pictureDiv');
pictureDiv.css('height','500');
//I want to change image within my pictureDiv and
//want to use my pictureDiv variable..
pictureDiv.img??
//I also want to change p tag within my pictureDiv and
// want to use my pictureDiv variable..
pictureDiv.p??
If the picture div has
<p>tags in it, is it the actual image or a container that contains both<p>tags and<img>tags? If it’s a container, use the.find()function like this: