Why does this code work:
$(\'div.error_container\').html(\'No more foo allowed\');
But this code cau
Try breaking it up into a chain:
var $div = $('').html('No more foo allowed') .append(''); $('div.error_container').html($div);