>new String(null).toString()
"null"
Ridiculous. Firefox doesn't do anything that stupid. Worse, it's broken my populate form from JSON code.
populate_data: function(report) {
for (key in report) {
if (!$(key)) {
continue;
}
$(key).value = report[key];
}
}
No comments:
Post a Comment