Mashiane Expert Licensed User Longtime User Jun 21, 2020 #1 Ola I have an element inside another, for example B4X: <v-sheet id="headersheet"><v-container>An Awesome Shop!</v-container></v-sheet> Running .GetHTML on headersheet element is giving me from <v-container></v-container> and not from <v-sheet></v-sheet>. How can I return the HTML starting with the element itself and not the child? Thanks.
Ola I have an element inside another, for example B4X: <v-sheet id="headersheet"><v-container>An Awesome Shop!</v-container></v-sheet> Running .GetHTML on headersheet element is giving me from <v-container></v-container> and not from <v-sheet></v-sheet>. How can I return the HTML starting with the element itself and not the child? Thanks.
alwaysbusy Expert Licensed User Longtime User Jun 21, 2020 #2 GetHTML does return the html of the first node. You can use .parent first. Upvote 0