On 7/19/06, Zeljko Filipin <[EMAIL PROTECTED]> wrote:
HTML that you provided is not valid. Three tags have the same id. Ids should be unique.

This is true. However, i think there is a workaround for this.

Using 1.5.

ie.button(:html, / 'delete', 'KH')/).click

Bret
 

On 7/19/06, VIKASH KUMAR < [EMAIL PROTECTED]> wrote:
Sir,
In my web page there are lots of buttons having same name, they are called using _javascript_. They are as follows:
 
 
<button type="button" name="delete" id="delete" 'BF');">Delete</button>
 
<button type="button" name="delete" id="delete" 'BI');">Delete</button>
   
<button type="button" name="delete" id="delete" 'KH');">Delete</button>
   
ie.button(:index,3).click , this works great if we know the index, but if someone just doesn't know the index, knows only the parameter which is ('delete', 'KH'), then what is the solution for it?
 
Please send me the solution for this.
Thanks in Advance
 
With Regards
Vikash Kumar


Find out what India is talking about on Yahoo! Answers India.
Send FREE SMS from New Yahoo! Messenger to Mobile: Download NOW!


_______________________________________________
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


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to