This should do it: ie.image(:src, /cluster_del/).click
Zeljko -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max Kononovich Sent: Wednesday, October 05, 2005 9:21 PM To: [email protected] Subject: [Wtr-general] Problem with div elements Hello, I have following div(see below). Please tell me how to click on the link with href="#" and image src="/images/cluster_del.gif". Thanks for your help, Max <div class="gr_op"> <a href="#" onclick="return confirmPopup(p_ag,'assign_groups','17','group');"><img src="/images/cluster_group.gif" width="19" height="19" title="clusters_groups" alt="cluster_groups" /></a> <a href="#" onclick="setActionSource('c','group',this);return false;"><img src="/images/cluster_copy.gif" width="19" height="19" title="clusters_copy" alt="clusters_copy" /></a> <a href="#" onclick="setActionSource('m','group',this);return false;"><img src="/images/cluster_move.gif" width="19" height="19" title="clusters_move" alt="clusters_move" /></a> <a href="#" onclick="return confirmPopup(p_ca,'confirm_cluster_hide','17','group','action=hide');"><img src="/images/cluster_hide.gif" width="19" height="19" title="clusters_hide" alt="clusters_hide" /></a> <a href="#" onclick="groupAction('change_status',1);return false;"><img src="/images/cluster_unhide.gif" width="19" height="19" title="clusters_unhide" alt="clusters_unhide" /></a> <a href="#" onclick="groupAction('delete');return false;"><img src="/images/cluster_del.gif" width="19" height="19" title="clusters_delete" alt="clusters_delete" /></a> </div> ________________________________________________________ Вы уже с Yahoo!? Испытайте обновленную и улучшенную. Yahoo! Почту! http://ru.mail.yahoo.com _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
