Hello Friends,
Help me to pick value from the tables.i m confused because of the button
name and id is same for the all button.
i attached the snap short of the table.have a look.
<iframe scrolling="Default" height="200" frameborder="0" width="450"
marginheight="0" marginwidth="0" src="registration.do"
name="VM_inl_commodity_all"></iframe>
<head>
<table>
<link href="favicon.ico" rel="shortcut icon">
<title>Commodities</title>
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td class="vmInlineList" valign="top"><img src="images/spacer.gif"
width="10" height="10"></td>
<td class="vmInlineList"><input name="Button" value="Add to list"
class="vmBtnAddInline" onclick="parent.addCode(this,'000000','test1');"
type="button"></td>
<td class="vmInlineList"><img src="images/spacer.gif" width="10"
height="10"></td>
<td class="vmInlineList">000000- test1</td>
</tr>
<tr>
<td class="vmInlineList" valign="top"><img src="images/spacer.gif"
width="10" height="10"></td>
<td class="vmInlineList"><input name="Button" value="Add to list"
class="vmBtnAddInline" onclick="parent.addCode(this,'000002','test2');"
type="button"></td>
<td class="vmInlineList"><img src="images/spacer.gif" width="10"
height="10"></td>
<td class="vmInlineList">000002- test2</td>
</tr>
<tr>
<td class="vmInlineList" valign="top"><img src="images/spacer.gif"
width="10" height="10"></td>
<td class="vmInlineList"><input name="Button" value="Add to list"
class="vmBtnAddInline" onclick="parent.addCode(this,'000003','test3');"
type="button"></td>
<td class="vmInlineList"><img src="images/spacer.gif" width="10"
height="10"></td>
<td class="vmInlineList">000003- test3</td>
</tr>
</tbody></table>
</form>
</body>
Attachments:
http://www.ruby-forum.com/attachment/4738/test.JPG
···
--
Posted via http://www.ruby-forum.com/.