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


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery (English)" group.
To post to this group, send email to jquery-en@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to