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