I am trying to use Jquery's form plugin with django to submit a form
with ajax.  When i submit the form the data is posted and the server
responds but the results are not showing up on my form.  I can see
from the console output of Firebug   that the data is being returned,
but its just not showing  any help would be appreciated.



 Javascript:
  <script type="text/javascript">
        // wait for the DOM to be loaded
        $(document).ready(function() {
            // bind 'myForm' and provide a simple callback function
            $('#myForm').ajaxForm(function() {
                return false;
            });
        });
    </script>

My form:
<form id="myForm" action="." method="post">
   VPI: <input type="text" name="VPI" />
   VCI: <input type="text" name="VCI" />
    <input type="submit" value="Submit Comment" />
</form>

Firebug console results returns correct html:
                         <input type="submit" value="Ping">

                        <br><br>

                Success rate is 100 percent (5/5), round-trip min/avg/
max = 8/11/12 ms
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to