On 10/5/06, Eva <[EMAIL PROTECTED]> wrote: > Typically image have this tag... > < img id="Banner1_imgProductName" key="LogoWhite.gif" > src="/images/LogoWhite.gif" alt="" border="0" / > > <br><br> > Here is the html code for the triangle image I'm trying to click on... > <input type="image" name="grdCompCodes:_ctl2:imgSelect" > id="grdCompCodes__ctl2_imgSelect" src="/images/SelectRow1.gif" alt="" > border="0" />
ie.image(:src, "/images/SelectRow1.gif") Eva, I take it that this image alters when you click on it, or gets all funky due to the javascript. I had the same problem with javascript toggling something open and closed (different graphics) You could also get an array of all the images in the page and click on it by index ie.images[1].click #or equivalent _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
