I have created a Textfield and linked it to CMS, i am trying to read the value of the following Code.
But it only returns the default Text of the Field.
$w.onReady(function () {
let myText = $w(“#myElement”).text; // “myElement” is the ID of your text element
console.log(myText); // This will log the text content of the text element to the console
});