> {{=A("Like", _href=URL('default', 'like', extension=False))}}
>
> which is a function in another controller ('default') that changes the
> value of 'like' (is a field of table like {{=table.key}} in the above
> example)
> How do i trigger the refresh of the div? The example in the book has a
> submit form that refreshes the page, but in my case there is not but
> still a value has changed. I guess that i should do something in my
> like function

You might consider using the callback argument to A() -- see
http://web2py.com/book/default/chapter/05#Built-in-Helpers.

Anthony

Reply via email to