[jQuery] forcing string literals
Hi all -
I have a JSON response with a parameter like
count: 0;
But if I try appending this value in a chained command, jQuery
interprets this as false and not a string literal.
eg
$("counts_col").append(json.count);
Is there a trick to making 0 a string literal and not a boolean
false? eval()?
Thanks!