how to convert var to string code example
Example 1: javascript to string
num.toString();
Example 2: jquery cast to string
value.toString()
String(value)
value + ""
num.toString();
value.toString()
String(value)
value + ""