At 02:06 AM 10/25/2005, Roy Sin wrote: >thanks for the suggestion this will work if there was only >one image with alt text "Delete Asset". But I have more >than one images with the same alt text, the only thing that >differentiate them is the dynamically generated id, that is >why I'm trying to pass the id. Could I pass the id in the >onclick in the fire_event method?
Just to be clear, your image does not have an id. If it did, it would say id=something. >I have an image tag like: ><IMG onclick=rusure(1334) alt="Delete Asset" >src="/brand/default/portal/images/del.gif" border=0> In head, this should work: ie.image(:html, /1334/).click Bret _____________________ Bret Pettichord www.pettichord.com _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
