jQuery Form plugin for dynamically created forms: problems

jQuery Form plugin for dynamically created forms: problems

Hi,

Web-code newbie here. I've been trying to use the  jQuery Form plugin, unsuccessfully for now. No mail is sent from the form on hitting submit, and there appears no output from the php file in the targeted div (neither 'mail sent!' nor 'invalid e-mail address' etc.) There are two complications:

1) The forms are created on the fly long after the page has loaded, depending on user input. Meaning there might be a <form id="AppleForm"> and a  <form id="PearForm"> if the user happens to ask for apple and pear. Thus it is not possible, nor does it seem necessary (?), to put ajaxForm() calls within $(document).ready(function(){}). Instead I call it after e.g. "AppleForm" has been rendered; i.e. in a bit of <script> after the <form>. Should that work?

2) When in the Firebug console I manually try

jQuery("#AppleForm").ajaxSubmit();

when the AppleForm is rendered, the mail is not sent, and the console output reads


I am wondering about that contact.php; my AppleForm actually has action="http://my.server/some/directory/contact.php", with my.server being a different server than the one hosting the webpage. (The latter server is not mine and doesn't run php.) Is it at all possible that the right php file is simply not being called or is that Firebug output expected?

Any insights much appreciated,

I.R.