jquery, if hovering over an element injects something into the DOM, can I still reference it?

Posted by Blankman on Stack Overflow See other posts from Stack Overflow or by Blankman
Published on 2010-05-17T20:02:06Z Indexed on 2010/05/17 20:40 UTC
Read the original article Hit count: 141

Filed under:
|

if hovering over an element injects something into the DOM, can I still reference it?

Or do I have to use the live plugin?

i' using jqeury 1.3.2

i.e. can I do $("#someItem").attr("src", "htt..."); on it?

I am trying to do it, but I think its not working b/c its a newly added item to the DOM.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript