events in table using jquery

Posted by Klbaiju under jQuery on 5/30/2011 | Points: 10 | Views : 15282 | Status : [Member] | Replies : 2
<table>
<tr><td><Edit></td><td>Delete</td><td>Id</td><td>name</td><td>salary</td></tr>
<tr><td><Edit></td><td>Delete</td><td>1000</td><td>tom</td><td>40000</td></tr>
<tr><td><Edit></td><td>Delete</td><td>1001</td><td>sam</td><td>5000</td></tr>
<tr><td><Edit></td><td>Delete</td><td>1002</td><td>peter</td><td>6000</td></tr>

</table>

Hi
I want to edit and delete in table using jquery

if i press the first edit button i need the the value of id ie 1000
same way if i press the delete button i need the vale of id ie 1000

how to write click funtion on these buttons


Regards

K LBAIJU




Responses

Posted by: Nithadeepak on: 5/31/2011 [Member] Bronze | Points: 25
Posted by: Susanthampy on: 5/31/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi,

Check this link,

http://www.noupe.com/javascript/jquery-html-table-toolbox.html

Regards,
Susan

Klbaiju, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response