03-24-2023, 08:25 AM
(08-19-2020, 11:45 AM)Jose Nilton Pace Wrote: Hi, you can call from html template in your menu list, something like this:
Code:<li><a href="#" onclick="return ajaxCall('YOUR_DELPHI_FUNCTION', 'parametermenulist=student_list');"><i class="fas fa-map-pin"></i><p>student_menu1</p></a></li>
Ilustre Jose Nilton,
Estou implementado o callback mas a expressão ajaxCall não está a ser identificado. É necessário declarar no ficheiro JQuery ou no delphi?
A mensagem de erro no console do brownser é a seguinte: "Uncaught ReferenceError: ajaxcall is not defined"
Ajude-me por favor...