Hi All,
I have defined a dynamic action on column link 'Update'. The event is click, the selector type is JQuery Selector.
What should be the JQuery Selector in this case (see code below). I want to dynamically determine which update link has been clicked by user.
<div class="t-Report-wrap">
<table class="t-Report-pagination" role="presentation"><tr><td></td></tr></table>
<div class="t-Report-tableWrap">
<table class="t-Report-report" summary="List of products.">
<thead><tr><th class="t-Report-colHead" align="center" id="CODE" >Code</th><th class="t-Report-colHead" align="center" id="NAME" >Name</th><th class="t-Report-colHead" align="center" id="Update" >Update Status</th></tr></thead>
<tbody>
<tr><td class="t-Report-cell" headers="CODE">15</td><td class="t-Report-cell" headers="NAME">Cotton Jumper</td><td class="t-Report-cell" headers="Update"><a href="javascript:void(0);" data-id="15" class="update t-Button t-Button--icon t-Button--iconRight t-Button--stretch">Update</a></td></tr>
<tr><td class="t-Report-cell" headers="CODE">16</td><td class="t-Report-cell" headers="NAME">Knitted Quilt Cover</td><td class="t-Report-cell" headers="Update"><a href="javascript:void(0);" data-id="16" class="update t-Button t-Button--icon t-Button--iconRight t-Button--stretch">Update</a></td></tr>
<tr><td class="t-Report-cell" headers="CODE">18</td><td class="t-Report-cell" headers="NAME">Magnetic Pillow</td><td class="t-Report-cell" headers="Update"><a href="javascript:void(0);" data-id="18" class="update t-Button t-Button--icon t-Button--iconRight t-Button--stretch">Update</a></td></tr>
<tr><td class="t-Report-cell" headers="CODE">50</td><td class="t-Report-cell" headers="NAME">Jet Suit</td><td class="t-Report-cell" headers="Update"><a href="javascript:void(0);" data-id="50" class="update t-Button t-Button--icon t-Button--iconRight t-Button--stretch">Update</a></td></tr>
</tbody>
</table>
</div>
<div class="t-Report-links"></div>
<table class="t-Report-pagination t-Report-pagination--bottom" role="presentation"></table>
</div>
</div>
Based on that I need to show a confirmation box in the dynamic action.
Thanks