How do you change number variable to text

I’m querying a collection with count
I want to display it in a #text1 on a page

Hi Ray,

You can do something like this:

$w("#text1").text = "" + count;

I find that this is the “easiest” way. I concatenate an [empty] string with a number variable. In this way, I show that I want a string, and Javascript handles the details for me.

I hope this helps.

Yisrael

Thanks Appreciate the info