JS - how get bubbled event from table?

H

hila

hi all,

I have dynamic table
when i click on eny cell on table , i want to get the selected row
data.
how can i do this?

my html code is:

<table datasrc="#dsPersons" cellspacing="1" border="1" style="WIDTH:
312px; HEIGHT: 76px"
id="tblPhone" datafld="Phone">
<thead>
<tr>
<th colspan="2" align="center">
<font face="Times" size="4"><u>Phone List</u></font></th>
</tr>
<tr>
<th>
Description</th>
<th>
Number</th>
</tr>
</thead>
<tbody>
<tr>
<td><span id="dscCell" datafld="Dsc"></span></td>
<td><span id="numCell" datafld="Num"></span></td>
</tr>
</tbody>
</table>

I binded the table to xml that it's id name is "#dsPersons".
can you help me please?
thanks
Hila
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top