On Tue, May 26, 2009 at 12:42 PM, Oliver Boermans <[email protected]> wrote:
>
> 2009/5/26 Martijn Faassen <[email protected]>:
>> <div class="my_data" style="display:none">{my_data}</div>
>>
>> and then some javascript code to scrape that out of the document again
>
> Sorry in advance for not reading your post in sufficient detail…

You didn't read my post in sufficient detail. I am not manipulating
the DOM. I'm walking over the DOM that gets generated by the template,
which is going to incur a performance impact, but I don't think a
large one in the common case. No DOM modification takes place. That's
the whole point of using a template language here.

I'll also note that minor DOM manipulations are necessary sometimes in
order to get things done. But that's not what I'm doing here.

Regards,

Martijn

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JSON 
Template" 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/json-template?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to