Hi all,
I need some help regarding to the interface link between Java script in HTML and B4a, where actually i need when i press button in HTML it may directed to B4a for handling.
Here the HML with java script that i created with Onclick Button Handling ( Expected when i CLick it, it will raise Test Function In B4a, Where i Included The sample that i modified from GoogleMapsWebView Example ) but it doesnt Work.
Pls advice..
<script type="text/javascript">
function myFunction() {B4A.CallSub('Test'); })}
</script>
<html>
<head>
<title></title>
<meta name="" content="">
</head>
<body>
<button id="demo" onclick="myFunction()">Click Me To change my text color.</button>
</body>
</html>
I need some help regarding to the interface link between Java script in HTML and B4a, where actually i need when i press button in HTML it may directed to B4a for handling.
Here the HML with java script that i created with Onclick Button Handling ( Expected when i CLick it, it will raise Test Function In B4a, Where i Included The sample that i modified from GoogleMapsWebView Example ) but it doesnt Work.
Pls advice..
<script type="text/javascript">
function myFunction() {B4A.CallSub('Test'); })}
</script>
<html>
<head>
<title></title>
<meta name="" content="">
</head>
<body>
<button id="demo" onclick="myFunction()">Click Me To change my text color.</button>
</body>
</html>