I got the number of records found in a search, and am trying to display it in a textbox, which has placeholder text in it. But I keep getting the error "The text parameter that is passed to the text method cannot be set to a value of 2623. It must be of type string." Here is the code:
If I put a .text after count, I get this error: "The text parameter of "txtRecCount" that is passed to the text method cannot be set to null or undefined."
The variable count does have value, and it is output to the console as expected.
I couldn't find any other way of converting a number to a string. What am I doing wrong?