cbanks Active Member Licensed User Longtime User Nov 21, 2014 #1 How do I assign the title of the Page to be the same as the loaded web page's title in b4i? I do it in b4a this way: B4X: PageTitle = wvXtender.getTitle(WebView1) Activity.Title = Pagetitle
How do I assign the title of the Page to be the same as the loaded web page's title in b4i? I do it in b4a this way: B4X: PageTitle = wvXtender.getTitle(WebView1) Activity.Title = Pagetitle
Erel B4X founder Staff member Licensed User Longtime User Nov 23, 2014 #2 See the code posted here: http://www.b4x.com/android/forum/threads/javascript.46467/#post-287376 Change document.documentElement.innerHTML with: document.title You can set the title by setting Page.Title. Upvote 0
See the code posted here: http://www.b4x.com/android/forum/threads/javascript.46467/#post-287376 Change document.documentElement.innerHTML with: document.title You can set the title by setting Page.Title.