Re: jquery ajax form problem--Can't render template variables

2009-06-10 Thread Malcolm MacKinnon
Thanks Alex. I'll give it a try. I appreciate your comments. On Wed, Jun 10, 2009 at 5:49 AM, Alex Robbins wrote: > > I haven't used that form plugin before, but from the documentation it > looks like the problem is this line: > target:"#new", > http://malsup.com/jquery/form/#options-object > Yo

Re: jquery ajax form problem--Can't render template variables

2009-06-10 Thread Alex Robbins
I haven't used that form plugin before, but from the documentation it looks like the problem is this line: target:"#new", http://malsup.com/jquery/form/#options-object You are asking jQuery to jam the whole response in, just like you are seeing. What happens if you take that line out? It looks lik

jquery ajax form problem--Can't render template variables

2009-06-09 Thread Mac
I'm new to programming and can't figure out how to properly render the {{comment}} and {{username}} variables in the element below using jquery and the ajax form plugin. Everything posts to the database just as it should. However, I want to show what gets posted in the template after submission.