So Im new to Wix Api
In normal JS I would do
document.getElementById(“fruit”).innerHTML;
to get the text of “fruit”
how would I do this in Wix Api/Js
Hi Matthew,
Here is how you can get a text from an id : $w(“#elementID”).text
for more information, check this Wix api of how to get text from id - Here
Good Luck!
Mustafa