On May 9, 1:53 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> 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:
>
Thanks.

> 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.
>
I guess the only way to prevent the normal submit the form is only by
removing the action, but sure one shouldn't code errors.

O. Wyss

Reply via email to