picyka Posted April 3, 2023 Share Posted April 3, 2023 What would be the correct way to trigger the ajaxRequest for a frame? top.ajaxRequest(UniFrameGerDadosLigacoes0, '_call', ['value=true']); not work. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 3, 2023 Share Posted April 3, 2023 Hello, Do you mean HTMLFrame? Quote Link to comment Share on other sites More sharing options...
picyka Posted April 3, 2023 Author Share Posted April 3, 2023 16 minutos atrás, Sherzod disse: Olá Você quer dizer HTMLFrame? TUniFrame Quote Link to comment Share on other sites More sharing options...
picyka Posted April 3, 2023 Author Share Posted April 3, 2023 TUniFrameGerDadosPadrao = classe(TUniFrame) TUniFrameGerDadosLigacoes = classe(TUniFrameGerDadosPadrao) Quote Link to comment Share on other sites More sharing options...
picyka Posted April 3, 2023 Author Share Posted April 3, 2023 Any tips? Quote Link to comment Share on other sites More sharing options...
picyka Posted April 3, 2023 Author Share Posted April 3, 2023 if (Http.responseText.includes("true")) { alert(top.UniFrameGerDadosLigacoes0.JSName); top.ajaxRequest(top.UniFrameGerDadosLigacoes0.JSName, '_call', ['value=true']); } that doesn't work either.. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 3, 2023 Share Posted April 3, 2023 Please make a simple testcase to fully understand your case. Quote Link to comment Share on other sites More sharing options...
picyka Posted April 4, 2023 Author Share Posted April 4, 2023 Follow the example. Look at the code in the servermodule -> CustomMeta Also note the code in the MainModule ExecuteTimerLigacao Notice the ajax Event on UniFrame1 it never fires demo.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 4, 2023 Share Posted April 4, 2023 11 minutes ago, picyka said: Notice the ajax Event on UniFrame1 it never fires Use: top.ajaxRequest(top.UniFrame1.FramePanel, '_call', ['value=true']); top.UniFrame1.FramePanel Quote Link to comment Share on other sites More sharing options...
picyka Posted April 4, 2023 Author Share Posted April 4, 2023 Solved, Thanks for the support. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 4, 2023 Share Posted April 4, 2023 Good. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.