On http://www.orpatec.ch/termola/index.php?page=contact.php Firebug gives me the following error:
validateInput is not defined http://www.orpatec.ch/termola/contact.php?page=contact.php Line 30 On 5/8/07, wyo <[EMAIL PROTECTED]> wrote: > > > I'm playing around with the form plugin yet when I press the submit > button only the result (in my case "true" is shown afterwards. The > full form is gone. My code is rather simple > > <script type="text/javascript"> > $(document).ready(function() { > var options = { > beforeSubmit: validateInput, > dataType: 'json', > success: processResult > }; > > $('#kontakt_formular').ajaxForm (function() {alert (data[0]? > 'success': 'failure')}); > }); > </script> > > Yet if I remove the "var options" nothing is done at all. See > > http://www.orpatec.ch/termola/index.php?page=contact.php > http://www.orpatec.ch/termola/index.php?page=contact2.php > > O. Wyss > > > > > -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com