PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → Share info between browser and server code
Share info between browser and server code
Débuté par Yaroslav Alpizar, 26 fév. 2008 17:58 - 2 réponses
Posté le 26 février 2008 - 17:58
I need to show in a tooltip at runtime several data that I have previously saved in arrays on the server code.

How can I get the data in those arrays so I can use them on my jscript functions on the browser coder?

Thanks!
Posté le 26 février 2008 - 18:23
Hi Yaroslav...

Either you store them in a hidden field in the init code of the page
(server side) and they will be available anytime on the browser, or you
request them just in time using ajaxexecute...

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

More information on http://www.fabriceharari.com


Yaroslav Alpizar wrote:
I need to show in a tooltip at runtime several data that I have previously saved in arrays on the server code.

How can I get the data in those arrays so I can use them on my jscript functions on the browser coder?

Thanks!
Posté le 27 février 2008 - 13:09
Thanks again Fabrice, will try both options.