I have a div that is generated html via Expression Engine. I\'m using ajax submit:
$(\'#login-form\').ajaxForm({ // success identifies the function to
And for your pretty fade in
success : function(data) { $("#panel").hide().html(data).fadeIn('fast'); }