*in jquery i do this to loop:

<script id="authorsIndex" type="text/x-jquery-tmpl">
        {{tmpl "#listAuthors"}}
</script>

<script id="listAuthors" type="text/x-jquery-tmpl">
    <li><a href="#" id="authorlink">${author}</a>
<small><em>(Quotes:${howmany})</em></small></li>
</script>

but i'm also passing it a json string.

could you just not build a json string inside the document, and render it
with javascript like this?

hope you are doing well,
greg
*
2011/8/23 Leandro - ProfessionalIT - Soluções em Tecnologia da Informação. <
lean...@professionalit.com.br>

> Greg,
>
>    Not exist a form, only show the output in html table.
>    I believe that the SUM I can do with javascript( I think that be the
> best solution !), no problems, but how to do a loop while the record.name==
> previous_record.name ? I don't know but.... I need this because I have
> that print the header table for each company.
>
> -- Leandro
>
>
> On Tue, Aug 23, 2011 at 10:34 AM, Greg Milby <gmi...@gmail.com> wrote:
>
>> *Hi Leandro, can you use javascript?  (just add the fields onblur, then
>> set form value to the total?)*
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "web.py" group.
> To post to this group, send email to webpy@googlegroups.com.
> To unsubscribe from this group, send email to
> webpy+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

  • [web... Leandro Severino
    • ... Greg Milby
      • ... Leandro - ProfessionalIT - Soluções em Tecnologia da Informação .
        • ... Greg Milby
    • ... John Fulton
      • ... Anand Chitipothu
        • ... Leandro - ProfessionalIT - Soluções em Tecnologia da Informação .
        • ... John Fulton

Reply via email to