Hi,

I don't see anything wrong.
Can you post more of your code?.


On Feb 24, 6:19 am, zhao peng <zhaopen...@gmail.com> wrote:
> hi,
>
> I defined two functions in controllers/default.py:
>   def submit_comment():
>   .....
>
>  def people():
>   ...
>
> and in the default/people.html, I want to use ajax to post data to
> submit_comment():
>    ajax('submit_comment',['id', 'author', 'text'],'comment_list_'+id);
>
> but by my testing, the ajax() posts data to people().  Can someone
> help me? thanks.

Reply via email to