Assign a variable value to the text box

Hi All,

I just want to assign variable values to the text box.

Eg: let num = 10;

This num values must display on the textBox

Thanks in Advance!

$w.onReady(() => {
let num = 10;
$w('#req').text = num.toString();

Hi J.D, thanks for replaying me. Its working. Once again thanks you so much.