convert a variable to string in javascript 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 + ""