comments on ToscaWidgets/Cookbook/JQueryAjaxForm

2 views
Skip to first unread message

guyzmo

unread,
Feb 21, 2009, 4:59:05 PM2/21/09
to TurboGears Docs
hi,

I started very recently to use TG, and am learning through the
currently available doc.
About the page below :

'http://docs.turbogears.org/2.0/RoughDocs/ToscaWidgets/Cookbook/
JQueryAjaxForm'

the content has been useful to me, though :

-----------------8<----------------------------8<---------------------
from tw.jquery import ActiveForm

ajax_form = ActiveForm(id="myAjaxForm",
fields=CommentFields(),
target="output",
action="do_search")
----------------->8---------------------------->8---------------------

ActiveForm shall be AjaxForm.

-----------------8<----------------------------8<---------------------
The output would be rendered inside a div element called *output*,
which is the default target element.
----------------->8---------------------------->8---------------------

What is "a div element called output" ?
<div id='output'> ?
<div name='ouput' ?
or any py: magic ?

a code snippet would be useful to have here :)

thanks,

--
Guyzmo

Florent Aide

unread,
Feb 22, 2009, 7:50:00 AM2/22/09
to turboge...@googlegroups.com
I would suggest that you join us on IRC as we are doing a
documentation sprint this week-end. You will certainly find an answer
an get the docs fixed :)

irc server: irc.freenode.net
channel: #turbogears

Florent.
Reply all
Reply to author
Forward
0 new messages