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.