I have a table using CGridView and have set the ‘updateSelector’ property for ajax updates. It works, in that it update the table, but I can’t figure out how to tell the server that a certain element was clicked.
For example, let’s say I have three buttons:
<a href="#" class="button action1">Action1</a><br /> <a href="#" class="button action2">Action2</a><br /> <a href="#" class="button action3">Action3</a><br />
I set ‘button’ as the update selector for CGridView. How do I tell the server that action1, action2, or action3 was the one pressed? Or in other words, how do I pass parameters to the server for a CGridView update.