Code: Select all | Expand
<div class="quick-item" onclick="callHarbourFunction('Clienti')">
<img src="{IMGCLIENTI}" alt="Clienti">
<span>Clienti</span>
</div>
Code: Select all | Expand
<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 ?