I've followed this excellent example: "App Inventor Code Snippets | Pura Vida Apps" to get strings from webviewer to AI2 and it works with no problems. I've never used webviewer, HTML or JavaScript before but I'm having problems trying to get a numerical value which in webviewer is stored in a variable named score, This is the JavaScript that I have made to transfer the value of 'score' to AI2: