bogdanc Active Member Licensed User Longtime User Jan 28, 2016 #1 Hi All! I'm trying to create an app for PC. I need to loadUrl and get some data from Url. the data is generated by Js/jQuery dynamically. Data is stored in array and also is dynamically presented trough html tags. How can I get access to that data / array or html by B4J?
Hi All! I'm trying to create an app for PC. I need to loadUrl and get some data from Url. the data is generated by Js/jQuery dynamically. Data is stored in array and also is dynamically presented trough html tags. How can I get access to that data / array or html by B4J?
Erel B4X founder Staff member Licensed User Longtime User Jan 28, 2016 #2 You can inject JavaScript that gets the relevant element html: https://www.b4x.com/android/forum/threads/webview.36582/#post-310881 Upvote 0
You can inject JavaScript that gets the relevant element html: https://www.b4x.com/android/forum/threads/webview.36582/#post-310881
bogdanc Active Member Licensed User Longtime User Jan 28, 2016 #3 Thanks Erel for replay. I would like to load some website by loadUrl method and get some data from that. Is it possible? Upvote 0
Thanks Erel for replay. I would like to load some website by loadUrl method and get some data from that. Is it possible?
Erel B4X founder Staff member Licensed User Longtime User Jan 28, 2016 #4 Yes. You can use the following script: document.documentElement.innerHTML; Upvote 0