javascript convert var to string code example Example: jquery cast to string value.toString() String(value) value + ""