Thanks for your replies. :)

On Thursday, 28 February 2013 17:24:02 UTC-3, Jason Macgowan wrote:
>
> Web.py's built in forms is really just a helper.  It makes generating form 
> attributes and fields from a database much easier than building by hand in 
> a template.  There are no disadvantages to using it as just an HTML builder 
> either, as it might save you some coding time.
>
> Shannon was right on the money as far as jQuery goes.
>
>
> On Thu, Feb 28, 2013 at 3:10 PM, Shannon Cruey <
> [email protected] <javascript:>> wrote:
>
>> I've got a sec for a quick answer.  I've not used the web.form, but the 
>> answer to your jquery question is 'yes'.
>>
>> Regardless of static html, hand crafted html in your own methods, or 
>> web.form... it's always a standard html document sent to the browser.
>>
>> Javascript (and jQuery) are *client side scripting.*  So yes, jQuery can 
>> do whatever you need done, regardless of how the page got built.
>>
>> My experience with other templating tools like web.form, however, is you 
>> may not have much control over element ids, css classes, and the like.  
>> Since jquery primarily uses the id and class selectors, you'll have to view 
>> the source of your page and reverse engineer the html that was built by 
>> web.form.
>>
>> Make sense?
>> S
>>
>>
>> On Thu, Feb 28, 2013 at 6:38 AM, Tomas Schertel 
>> <[email protected]<javascript:>
>> > wrote:
>>
>>> I can understand using web.form for creating forms when I need retrieve 
>>> information from database to decide what fields I need in this form.
>>> But I see people creating forms using web.form just replacing HTML, and 
>>> I can't see the real advantage of that.
>>> Another question: can I create a form using web.py and interact with it 
>>> using jquery?
>>>
>>> Thanks.
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "web.py" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected] <javascript:>.
>>> To post to this group, send email to [email protected]<javascript:>
>>> .
>>> Visit this group at http://groups.google.com/group/webpy?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "web.py" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] <javascript:>
>> .
>> Visit this group at http://groups.google.com/group/webpy?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to