geting image using DOM...how?

Discussion in 'Javascript' started by riki, Feb 4, 2004.

  1. riki

    riki Guest

    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?
    riki, Feb 4, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. harry

    Geting class attributes types

    harry, May 10, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    374
    Natty Gur
    May 11, 2004
  2. Jitendra Singh via .NET 247

    ASP.NET textbox control is not geting refreshed..

    Jitendra Singh via .NET 247, Mar 29, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    667
    Rajesh C K R
    Mar 29, 2005
  3. DagoFlores

    Geting physical path of IIS directories

    DagoFlores, Sep 19, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    3,205
    DagoFlores
    Sep 19, 2005
  4. Satheesh Babu B

    Geting Checkboxlist value in javascript

    Satheesh Babu B, Oct 19, 2005, in forum: ASP .Net
    Replies:
    14
    Views:
    38,731
    Sabrina Lanzoni Goncalves
    May 24, 2007
  5. riki

    geting hold of image???

    riki, Feb 6, 2004, in forum: Javascript
    Replies:
    4
    Views:
    100
Loading...

Share This Page