Both pages have the same problem with this line:
$('#kontakt_formular').ajaxForm (function() {alert (data[0]? 'success': 'failure')}); 'data' is undefined here. If you bind a function to ajaxError you should see an error. You need to define 'data' as an argument to your anon function: $('#kontakt_formular').ajaxForm (function(data) {alert (data[0]? 'success': 'failure')}); or better yet, since your server response is 'true' and not an array: $('#kontakt_formular').ajaxForm (function(data) {alert (data?'success':'failure')}); The first page is even worse because of the JavaScript error as Aaron pointed out. Yes, that error is relevant because it prevents the form from being submitted with JS. A normal browser submit occurs on that page and so the behavior is different. Mike On 5/9/07, wyo <[EMAIL PROTECTED]> wrote:
On May 8, 11:33 pm, "Aaron Heimlich" <[EMAIL PROTECTED]> wrote: > Onhttp://www.orpatec.ch/termola/index.php?page=contact.phpFirebug gives me > the following error: > > validateInput is not definedhttp://www.orpatec.ch/termola/contact.php?page=contact.php > Line 30 > Well that can't be the reason since the form plugin is working partially. In the second sample contact2.php validateInput is also not definde but the form plugin doesn't work at all. O. Wyss