Hi All,

I'm using the Form plugin to submit data to a processing page and upon
success, show a notification to the user.  My form has 6 fields, one
text and 5 textarea. When the form is initially filled out and
submitted the user sees a div get updated for confirmation. Now if the
user changes any of the fields and submits, they get the confirmation
but the changed fields revert back to the data they were showing
before the update.  I'd like to repopulate the fields with the updated
data if possible.

My code:

        $(document).ready(function() {
                var options = {
                        target: '#resultDiv',
                        resetForm: true
                };

                $('#frmTop5').ajaxForm(options);
        });

Server code is just an update query with a static div that gets
returned to the calling page if the query is successful.

Thx!
Mike

Reply via email to