Jump to content

Recommended Posts

Posted

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 ??

Posted
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.

Posted

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

Posted
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.

Posted
4 hours ago, JarekZ said:

ajaxRequest not returned value to function in JS

Then please give a complete statement of the task.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...