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