passing cell value inorder to update table using ajax post

前端 未结 1 1724
南方客
南方客 2021-01-29 01:24

working with jquery for the past 2 days iam trying to get a cell value which is needed to perform an update by calling a servlet through ajax.i have used a double click event to

相关标签:
1条回答
  • 2021-01-29 02:20

    You can encode the number of the row for example like that:

    <tr index="counter.index">
    

    ... and than get hold of it by jQuery in the appropriate place

    row=$(this).parent().attr("index")
    
    0 讨论(0)
提交回复
热议问题