Did you know ... Search Documentation:
Pack weblog -- prolog/html_form/ajaxify.pl
PublicShow source
 ajaxify(+Generator:goal, +HTML:html, ?A:list, ?B:list) is det
ajaxify turns its contents into a div whose contents is replaced by the second argument, called in an ajax call, when signalled by ajax.

arguments for Generator

id(ID) required - binds this handler to a specific ID. this will also be the id of the div note that this is a global namespace, so mypage_mything is recommended listen_to(Name) listen to all, ID, and anything that matches Name timer(Speed) call this ajaxify every Speed millisec

In the event of an error, the contents of #error will be appended with the error message

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

 ajaxify_broadcast(Arg1, Arg2, Arg3, Arg4, Arg5)
 ajaxify_contents(Arg1, Arg2, Arg3, Arg4)