Android Question run B4A.Callsub from click event

azzam223

Active Member
Licensed User
Longtime User
hello every how i can make B4A.CallSub work in Click event when i add it on click event of a tag not work prefect
JavaScript:
tag.innerHTML="<a href='#' rel='nofollow' onclick='event.preventDefault();B4A.CallSub('test', true, 'test');'></a>";
 

drgottjr

Expert
Licensed User
Longtime User
so much could be wrong. we need to see a lot more code plus the error log.
we have no idea what happens when you run your project.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…