Hello, I’ve been reading community post about variables and javascript using Wappler, but although I try, cannot achieve my goal.
I need to get a Javascript variable outside the script to Wappler. I’ve created a variable using Wappler, but now I need Javascript to set that Wappler variable.
The script is the following, there are in fact two values I need to set to two different Wappler Variables, “vuFp” and “bfpSeed”. The div I got from the developer, were the variable is shown because of the div id, works fine, but I need to the variable to be accesible to be used afterwords on serverconnect.
<script>
var vuFp = new VUBrowserFP();
vuFp.getFingerprintInfo(function( info ){
var result = info.fingerprint; //Informaci�n a enviar al server en Base64
var element = document.getElementById("bfp");
element.innerHTML = result;
});
vuFp.getFingerprintInfoWithSeed(function( info ){
var result = info.fingerprint; //Informaci�n a enviar al server en Base64
var element = document.getElementById("bfpSeed");
element.innerHTML = result;
});
</script>
Thanks!!
Community Page
Last updated:
Last updated: