Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
java script variable access in intraweb
#4
(12-11-2019, 08:10 PM)MrSpock Wrote:
(12-11-2019, 02:43 PM)Jose Nilton Pace Wrote: Hi, you can pass any value from html/js to delphi using new callback functions.
http://docs.atozed.com/docs.dll/developm...015.1.html
The file is written for those who already know a lot about javascript and callback. So not for me who knows nothing about that.
Will the below work?

My strategy would be something like this:
I define an IWLabel on the form, let's suppose its name is IWLabel1.
I make it visible:=false. and form.renderInvisible:=true
I add code to my javascript function such that it changes the value (label's
tag in this case) of the component  something like:
document.getElementById("IWLABEL1").tag='34';

Now I click a button and hope to get the changed tag value in intraweb back-end.
Reply


Messages In This Thread
RE: java script variable access in intraweb - by MrSpock - 12-12-2019, 09:51 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)