live demo:
https://www.modharbour.org/modharbour_samples/js_to_prg.prg
source code:
https://github.com/FiveTechSoft/mod_harbour/blob/master/samples/js_to_prg.prg
We also provide the demo to convert Harbour hashes into javascript objects:
live demo:
https://www.modharbour.org/modharbour_samples/prg_to_js.prg
source code:
https://github.com/FiveTechSoft/mod_harbour/blob/master/samples/prg_to_js.prg
This way you clear understand how to send values from Harbour to javascript and from javascript to Harbour
Harbour for the web power!