I have a div that is generated html via Expression Engine. I\'m using ajax submit:
$(\'#login-form\').ajaxForm({ // success identifies the function to
Pretty much any of the methods listed in jQuery's "manipulation" section are going to do what you want: http://docs.jquery.com/Manipulation