B4A Tutorial [B4X] WebView + CKEditor (rich text editor) - Erel    Oct 20, 2022   (15 reactions) RunJavaScript (js As String) As ResumableSub #if B4A WebViewExtras1.executeJavascript... As String) Return html #Else If B4J Return WebView1.As(JavaObject).RunMethodJO("getEngine", Null).RunMethod("executeScript", Array(js)) #Else If B4i Dim sf As Object = WebView1.EvaluateJavaScript(js) Wait For (sf) WebView1_JSComplete (Success As Boolean...://www.b4x.com/android/forum/threads/12453/#content B4J requires Java 14. Link is available here: https... B4A Question Save all webview content to clipboard - Erel (first post)    Jan 4, 2024   (1 reaction) Use the RunJavaScript sub: https://www.b4x.com/android/forum/threads/b4x-webview-ckeditor-rich-text-editor.133260/#content to execute JavaScript that gets the page source and then copy it to clipboard.... B4J Question Click checkbox in webview and submit using javascript - TILogistic (first post)    Jul 8, 2022   (2 reactions) test checkbox 2: Check and Value
Edit:
'check').?????
Private Sub Button1_Click
RunJavaScript($"document.getElementsByClassName('check').checked = true;"$)
End Sub
Private Sub Button2_Click
RunJavaScript($"document.getElementsByClassName('check').checked = false;"$)
End Sub
Private Sub Button3_Click
Wait For (RunJavaScript... B4A Question Wait for Javascript to complete - TILogistic (first post)    Sep 14, 2021 you can modify routine (RunJavaScript) to use WebViewExtras2 library... B4i Question [Solved] b4i CallSub - jahswant (first post)    Jun 28, 2024   (1 reaction) Private Sub RunJavaScript (js As String) As ResumableSub #if B4A WebViewExtras1.executeJavascript(WebView1, $"B4A.CallSub('Process_HTML', true, ${js})"$) Wait For Process_Html(html As String) Return html #Else If B4J Return WebView1.As(JavaObject).RunMethodJO("getEngine", Null).RunMethod("executeScript", Array(js)) #Else If B4i Dim sf As Object = WebView1.EvaluateJavaScript(js) Wait For (sf) WebView1_JSComplete (Success... B4A Question Richtexteditor - how they did it ? - Phayao (first post)    May 10, 2023 Thank you Erel, that's true, nevertheless the function Sub RunJavaScript (js As String) As ResumableSub wvExtras.executeJavascript(wvEditor, $"B4A.CallSub('returnHTML', true, ${js})"$) Wait For returnHTML(content As String) Log("return = "& content... with a global variable HTML: Sub RunJavaScript (js As String) As ResumableSub wvExtras... it's not possible by B4A but using some Java function... ? Maybe there's a trick around... Italian Refresh Pagina in b4i - Star-Dust (first post)    May 14, 2022
Il problema e che indirizzo non è sempre lo stesso.
dovrò indagare sullo scrolling al Top.
Grazie purtroppo sul mondo android ho più esperienza mentre in iphone meno
Basta che hai esperienza in JS
RunJavaScript("window.location.location.replace('www.xfood.it');")... B4J Question Difference in JS click() to mouseclick - TILogistic (first post)    Aug 5, 2022 ? B4X: https://www.b4x.com/android/forum/threads/interact-with-html-elements-from-b4j-app.136957/#post-866558 https://www.b4x.com/android/forum/threads/click-checkbox-in-webview-and-submit-using-javascript.141650/#post-897876 https://www.b4x.com/android/forum/threads/wait-for-javascript-to-complete.134258/#post-849527 search: https://www.b4x.com/android/forum/pages/results/?query=RunJavaScript+... B4J Question Interact with HTML elements from B4j app? - TILogistic (first post)    Dec 19, 2021   (7 reactions)
RunJavaScript($"document.getElementById("txtNumber").value="123";"$)
End Sub
Private Sub Button2_Click
RunJavaScript($"document.getElementById("btnGuess").click();"$)
End Sub
Private Sub Button3_Click
Wait For (RunJavaScript... B4i Question Ricaricare una pagina partendo dal top della pagina in b4i - ken87 (first post)    May 20, 2022   (1 reaction) = RunJavaScript("window.location.href;")
Private Sub RunJavaScript (js As String... like
dim nome as string = RunJavaScript("window.location.href();")
Where the function... do I need to make?
Private Sub RunJavaScript (js As String) As ResumableSub
#if B4A
WebViewExtras1...)
Return Result
#end if
End Sub
surely must return a string:
Private Sub RunJavaScript (js... Page: 1   2   3   4   5   6   7   |