JarekZ Posted May 27, 2020 Share Posted May 27, 2020 hello I'm using unihtmlframe on which I have a button. The button starts a JS function. How to make this function retrieve data from another function in the application ?? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 27, 2020 Share Posted May 27, 2020 21 minutes ago, JarekZ said: I'm using unihtmlframe on which I have a button. The button starts a JS function. How to make this function retrieve data from another function in the application ?? Hello, Sorry, please explain in more detail. Quote Link to comment Share on other sites More sharing options...
JarekZ Posted May 27, 2020 Author Share Posted May 27, 2020 Example loads the HTML file into unihtmlframe on button onclick adds a function that has to return JSON based on data from the database and display it in alert () JSON is created e.g. by ADOQuery Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 27, 2020 Share Posted May 27, 2020 6 minutes ago, JarekZ said: on button onclick adds a function that has to return JSON based on data from the database and display it in alert () JSON is created e.g. by ADOQuery Sorry, but still not very clear to me. Although if I understand you correctly, then you should use at least ajaxRequest inside your function. Quote Link to comment Share on other sites More sharing options...
JarekZ Posted May 27, 2020 Author Share Posted May 27, 2020 ajaxRequest not returned value to function in JS Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 27, 2020 Share Posted May 27, 2020 4 hours ago, JarekZ said: ajaxRequest not returned value to function in JS Then please give a complete statement of the task. 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.