Hello professionals!
There is a html file with the data in atach.
I will ship it to webview - everything is loaded as it should!
But the following code - no result!
........
But if the source text, which is to remove Attachments
Then all output without problems(((
What's the problem?
There is a html file with the data in atach.
I will ship it to webview - everything is loaded as it should!
But the following code - no result!
B4X:
Dim Javascript As String
Javascpt="B4A.CallSub('ProcessHTML', false, document.documentElement.outerHTML)"
Log("PageFinished: "&Javascript)
WebViewExtras1.executeJavascript(WebView1, Javascript)
B4X:
Sub ProcessHTML(Html As String)
' This is the Sub that we'll get the web page to send it's HTML content to
' Log may truncate a large page so you'll not see all of the HTML in the log but the 'html' String should still contain all of the web page HTML
Log("ProcessHTML: "&Html)
End Sub
But if the source text, which is to remove Attachments
B4X:
onChange="javascript:if(checked){value=1}else {value=0};"
Then all output without problems(((
What's the problem?