Form Plugin - using multiple times on the same form
I'm using the Form Plugin to allow a user to upload a photo.
The user clicks on a link in the page and I display a dialog collecting the file and description.
It works great the first time, but when they do it again the description and a hidden field is not passed in the form.
How can I get the form to work more than once without reloading the page?
I call this on the click of the link on the page.
var options = {target: '#divToUpdate', success: PhotoUploaded};
$('#photoForm').ajaxForm(options);
Thanks