I have a link on a oWbView made with Twebview2
callHarbourFunction is on a javascritpt script
When I click on a link give me a message box with the text "array"

and not open the function clienti()
How I can resolve ?
<div class="quick-item" onclick="callHarbourFunction('Clienti')">
<img src="{IMGCLIENTI}" alt="Clienti">
<span>Clienti</span>
</div><script>
function callHarbourFunction(funcName) {
var data = { function: funcName };
var s = SendToFWH(data).then(s => {
alert(s.result);
}).catch(err => {
alert("Errore: " + err);
});
}
</script>When I click on a link give me a message box with the text "array"

and not open the function clienti()
How I can resolve ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com