<img src="..." id="myImage" />

var img = $("#myImage");
or
var img = $("img#myImage");

Did you have a more complicated scenario?

On Apr 6, 5:00 am, expresso <jqueryadd...@gmail.com> wrote:
> I'm trying to figure out how to gain a reference to a specific image on my
> page that has a specific ID and I can't figure out the syntax anywhere after
> looking.
>
> $('img...')
> --
> View this message in 
> context:http://www.nabble.com/How-to-reference-an-img-with-specific-ID-tp2291...
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to