geting image using DOM...how?

R

riki

hello,
can anybody help me with the problem stated in the subject...i would need
something like this
var pic=window.document.images[0];
i can't use window.document.imgName; becouse i'm trying to catch this img in
the popup and i'm calling this popup from another window so it doesn't have
a name...
this popup opens on this command.
<a href="#" onclick="javascript:
window.open('/images/logo2.gif','popUp','width=400,height=100,toolbar=0,loca
tion=0,directories=0,menuBar=0,scrollBars=no,resizable=1')">
<img src="/images/someOtherImg.gif" name="SLIKA">
</a>
any suggestions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,054
Latest member
LucyCarper

Latest Threads

Top