this may be useful to see where I am coming from. h[link text][1]ttp://stackoverflow.com/questions/1005006/jquery-nested-each-problem Note: jQuery is used instead of the $ idiom because this is what wordpress requires.
I am adding divs with elements with this code:
jQuery("#list").append(jQuery("<div>").attr("id", "Entry").html(html));
'html' is just a string containing some text and an anchor.
I have an existing div with id 'list'.
I am trying to make an animation on the new div(s - there are multiple div's with this id) like so:
jQuery("#Entry").hover(function(){
jQuery(this).animate({width:"50%", fontSize: "30px", opacity: 0.3, borderwidth: "15px"}, 500);
});
the above is in my
jQuery(document).ready(function(){ }
function, if that matters. I am new to jquery.