Hello all,
The question might sound beard, but I have a reason to ask it.
When we generate a form using webhelpers, its python code which creates
the widgets, and I know the ids of every widget.
So if I do document.getElementById it works fine.
I see that tw.forms also generates widgets using python code and while
reading the docs, I found that there is some thing in common between the 2.
But one thing I did not understand is, when I create the form using
tw.forms, how do I find an element using getElementById?
I don't see a place where I set an id for a widget in tw.forms?
May be I am doing it the right way?
But just missing out some thing.
I want to use tw.forms along with webhelpers and want to know if there
is a trick to find or guess the id of an widget generated by tw.forms.
Happy hacking.
Krishnakant.
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.