Hi
I have text element that connected to db collection, and i want to get the value of this text element (this text is all the time change beacause its apear on a dynamic page).
Which function i need to use?
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
Old post closed due to spam appearing at end.
i treid to do this, i want to set the text value into a input text
this is the code:
$w.onReady(function () { let textValue = $w("#text105").text; $w('#input1').value=textValue; }); but it doesn't get the value from the text
Perhaps something like this:
let textValue = $w("#text").text;
See the $w.Text.text API for details.