Hi there
I am able to run alert("Hello World!") via executeJavascript using webviewextras2, however I cant seem to get the setting of data attributes to work? Can someone please advise?
I have even tried using getDocumentByID and also its not working at as the contents inside the webview remain unchanged..
This is an example of my dom element...
Ta!
I am able to run alert("Hello World!") via executeJavascript using webviewextras2, however I cant seem to get the setting of data attributes to work? Can someone please advise?
B4X:
$('#rsa').attr('data-ej-showroundedcorner', 'false');
I have even tried using getDocumentByID and also its not working at as the contents inside the webview remain unchanged..
This is an example of my dom element...
B4X:
<div id="rsa" data-role="ejmtile" data-ej-imageposition="fill" data-ej-caption-alignment="center" data-ej-tilesize="small" data-ej-showroundedcorner="true" data-ej-caption-position="outer" data-ej-caption-text="Select Me" data-ej-imageclass="imgrsa" data-ej-rendermode="auto" data-ej-touchstart="itemclicked"></div>
Ta!