Hi You can solve this By Learning more about CallBacks
Please take a look at this documentation:
http://docs.atozed.com/docs.dll/classes/...ation.html
Look for RegisterCallBack
and check the demos:
1) Basic CallBack demo:
https://github.com/Atozed/IntraWeb/tree/...omAjaxCall
Look up specially for this two methods in Unit2.pas:
TIWForm2.DoMyAjaxFunc
TIWForm2.IWAppFormCreate
2) This is a best exmple of what you may want to achieve:
https://github.com/Atozed/IntraWeb/blob/.../Unit1.pas
Check Unit1.pas:
Please take a look at this documentation:
http://docs.atozed.com/docs.dll/classes/...ation.html
Look for RegisterCallBack
and check the demos:
1) Basic CallBack demo:
https://github.com/Atozed/IntraWeb/tree/...omAjaxCall
Look up specially for this two methods in Unit2.pas:
TIWForm2.DoMyAjaxFunc
TIWForm2.IWAppFormCreate
2) This is a best exmple of what you may want to achieve:
https://github.com/Atozed/IntraWeb/blob/.../Unit1.pas
Check Unit1.pas: