|
<< Click to Display Table of Contents >> Navigation: Telegram > 2020 > 11 > 16 > Telegram_2020-11-16T13 |
2020-11-16T13:37:41
I use this :
$('table').on('click', '.link', function () {
// Find previously selected items and remove the class, restricting the search to the table.
$('.Selected', 'table').removeClass('Selected')
// Find the click target
target = $(this).attr('href');
// Find its 'tr' and highlight it
$(target).closest('tr').addClass('Selected')
var Selrow=target
alert(Selrow)
});
Now I need to read Selrow into Delphi
2020-11-16T13:39:31
is there a briljant mind online?
2020-11-16T13:42:59
You can call an
type: code ajaxCall('yourdelphifunctiontoreceiverow', 'paramrow=' + Selrow);
2020-11-16T13:50:41
And how do I call it from Delphi?
2020-11-16T13:52:36
type: code $(target).closest('tr').addClass('Selected')
var Selrow=target;
-> ajaxCall('yourdelphifunctiontoreceiverow', 'paramrow=' + Selrow);
alert(Selrow);
});
2020-11-16T13:53:02
create a callback in delphi and read it