私はjqueryを初めて使用します。私の要件は、jquery関数でrowid(テーブルの各レコードの一意のID)を渡すことです。実行時にのみROWIDを取得できます。では、idがこのROWIDであるタグにクリックイベントをバインドするにはどうすればよいですか。
<a href="javascript:void(0)" id="`string(rowid(Gatepass))`">Upd</a>
<a href="javascript:void(0)" id="`string(rowid(Gatepass))`">Del</a>
$(what to pass here).bind('click',function(ev) {
_operation(para1,para2); // function which is going to perfom action
ev.preventDefault();
return false;
});