Hi all Here i am stuck to a problem . i want to execute the click event of a button which is being located in the table cell which dont have any id. So please give me any solution for that. Example: <table id="MainTable"> <tr> <td> <table id="ShipTableMenu" > <tr> <td><input type="button" value="Test" id="cmdTest" name="cmdTest" onclick="TestClick(true,false);"> </td> </tr> </td> </tr> </table> Now I want to Locate the Test Button.... Thanks in advance.
on 2007-05-16 13:54
on 2007-05-16 22:10
On May 16, 2007, at 7:54 AM, AMruta wrote: > <table id="ShipTableMenu" > > Now I want to Locate the Test Button.... > > Thanks in advance. If you have prototype.js (which you certainly do, right?), you can $ ('cmdTest').click(); Your button has an id, so use it! -Rob Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com