I use jQuery to get the alt attributes of an image map as a String:
but this is all Html.
I'm trying to get the alt attribute value from WebView1 into 'Sub ProcessHTML' or 'Sub JavascriptCallback' before I remove the textBox that currently displays this value.
I may have already read an article on How To, without understanding.
Thanks in advance for all tips.
B4X:
<script >
$(document).ready(function () {
$("area").click(function (e) {
$("#xMap").val($(this).attr("alt")); <!-- How to Send the alt attribute value to B4A -->
e.preventDefault();
});
});
</script>
I'm trying to get the alt attribute value from WebView1 into 'Sub ProcessHTML' or 'Sub JavascriptCallback' before I remove the textBox that currently displays this value.
I may have already read an article on How To, without understanding.
Thanks in advance for all tips.